X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles_versions%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=blobdiff_plain;f=www%2Fplugins-dist%2Furls_etendues%2Furls%2Fpropres.php;h=3ce5d55a607d5bcdc3b5f17be90ffb19936709e9;hb=ddcf49bac0b8a7be029b98a88f5715f443eabc1e;hp=e06f122358f7c11d099028cd1aee11056309126a;hpb=c5c8df4f768d87cad1a469e184ec7d6603041717;p=lhc%2Fweb%2Fwww.git diff --git a/www/plugins-dist/urls_etendues/urls/propres.php b/www/plugins-dist/urls_etendues/urls/propres.php index e06f1223..3ce5d55a 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'] = '';