Ticket #1177 (closed defect: fixed)
Handlers et test strpos
Reported by: | Osku | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | module:public | Version: | 2.2 |
Severity: | normal | Keywords: | handlers |
Cc: |
Description
Les tests :
$redir .= strpos($redir,'?') !== false ? '&' : '?';
sont maladroits.
Si l'url du blog est configuré en query_string sans '?' réglé avec .htaccess pour avoir de jolies URL, les messages d'ajout de commentaire publié ou en attente de publication ne sont pas affichés (notamment)
Je propose de changer ce test pour :
$redir .= $core->blog->settings->system == "query_string" ? '&' : '?';
Change History
comment:3 Changed 14 years ago by franck
- Status changed from new to closed
- Resolution set to fixed
J'ai l'impression que ça a été corrigé, voir ligne 424 de lib.urlhandlers.php. Je clos le ticket.
comment:4 Changed 14 years ago by Osku
- Status changed from closed to reopened
- Resolution fixed deleted
Le plugin pages a été oublié : http://dev.dotclear.org/2.0/browser/plugins/pages/_public.php#L149
comment:5 Changed 14 years ago by franck <carnet.franck.paul@…>
(In [79ca2d441876]) Cope with all schemes of URL scan, including common .htaccess rewriting (see #1177)
Note: See
TracTickets for help on using
tickets.