X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fplugins-dist%2Ftextwheel%2Finc%2Flien.php;fp=www%2Fplugins-dist%2Ftextwheel%2Finc%2Flien.php;h=fb4b1b1235187f0976d762004eecdfdde04d8f66;hp=7c6e955d483b337934138f43f8d8f0358199f7ce;hb=5be150361b3c836d9206941ba43f862df11466db;hpb=bca3db9e1ab94e469b01f7e994a5e095de5f88c4 diff --git a/www/plugins-dist/textwheel/inc/lien.php b/www/plugins-dist/textwheel/inc/lien.php index 7c6e955..fb4b1b1 100644 --- a/www/plugins-dist/textwheel/inc/lien.php +++ b/www/plugins-dist/textwheel/inc/lien.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2013 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -279,7 +279,7 @@ function traiter_raccourci_lien_atts($texte) { return array(trim($texte), $bulle, $hlang); } -define('_EXTRAIRE_DOMAINE', '/^(?:(?:[^\W_]((?:[^\W_]|-){0,61}[^\W_,])?\.)+[a-z]{2,6}|localhost)\b/Si'); +define('_EXTRAIRE_DOMAINE', '/^(?:(?:[^\W_]((?:[^\W_]|-){0,61}[^\W_,])?\.)+[a-z0-9]{2,6}|localhost)\b/Si'); define('_RACCOURCI_CHAPO', '/^(\W*)(\W*)(\w*\d+([?#].*)?)$/'); /**