X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=www%2Fplugins-dist%2Furls_etendues%2Furls%2Fpropres.php;h=360b8f01319a4ed4763909e8e2e8f2aeeaf203c3;hb=cc641eb476987612f6d6df1a5417c1c5582a8ab8;hp=e06f122358f7c11d099028cd1aee11056309126a;hpb=83e62ea97fafb78dde1372b78c1be4c71b5b1b58;p=lhc%2Fweb%2Fclavette_www.git diff --git a/www/plugins-dist/urls_etendues/urls/propres.php b/www/plugins-dist/urls_etendues/urls/propres.php index e06f122..360b8f0 100644 --- a/www/plugins-dist/urls_etendues/urls/propres.php +++ b/www/plugins-dist/urls_etendues/urls/propres.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2014 * + * Copyright (c) 2001-2016 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -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'] = '';