X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fplugins-dist%2Furls_etendues%2Furls%2Fpropres.php;fp=www%2Fplugins-dist%2Furls_etendues%2Furls%2Fpropres.php;h=3ce5d55a607d5bcdc3b5f17be90ffb19936709e9;hp=e06f122358f7c11d099028cd1aee11056309126a;hb=f854641371bdfbaba8fbab6212853d9795ba8cc8;hpb=d18fcb8f27a4016e3fa7b50a9b2255d529dca543 diff --git a/www/plugins-dist/urls_etendues/urls/propres.php b/www/plugins-dist/urls_etendues/urls/propres.php index e06f122..3ce5d55 100644 --- a/www/plugins-dist/urls_etendues/urls/propres.php +++ b/www/plugins-dist/urls_etendues/urls/propres.php @@ -382,7 +382,7 @@ function urls_propres_dist($i, $entite, $args='', $ancre='') { } else { // Si ca ressemble a une URL d'objet, ce n'est pas la home // et on provoque un 404 - if (preg_match(',^.*/[^\.]+(\.html)?$,', $url)) { + if (preg_match(',^[^\.]+(\.html)?$,', $url)) { $entite = '404'; $contexte['erreur'] = '';