Dotclear

Ticket #1177 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

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:1 Changed 14 years ago by bruno

  • Milestone 2.3 deleted

comment:2 Changed 14 years ago by bruno

  • Priority changed from high to normal

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

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)

comment:6 Changed 14 years ago by franck

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

Sites map