Changeset 112851 in spip-zone


Ignore:
Timestamp:
Dec 16, 2018, 10:29:03 PM (3 months ago)
Author:
root
Message:

analyser correctement les liens qui contiennent des parenthèses
type https://fr.wikipedia.org/wiki/(125592)_Buthiers

Location:
_plugins_/linkcheck/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/linkcheck/trunk/inc/linkcheck_fcts.php

    r109374 r112851  
    8686         * @var string $classe_alpha
    8787         */
    88         $classe_alpha = 'a-zA-Z0-9\x{00a1}-\x{FFFF}';
     88        $classe_alpha = 'a-zA-Z0-9\x{00a1}-\x{FFFF}\(\)';
    8989        $tab_expreg = array(
    9090                "('|\"| |\.|\->|\]|,|;|\s)(((((http|https|ftp|ftps)://)?www\.)|((http|https|ftp|ftps)://(?:\S+(?::\S*)?@)?.([".$classe_alpha."'\-]*\.)?))(['".$classe_alpha."'0-9\-\+]*\.)+([a-zA-Z0-9]{2,9})(?::\d{2,5})?(/[".$classe_alpha."=.?&~_;\-\+\@\:\,/%#]*)?)('|\"| |\.|,|;|\s|\|\->])?",
  • _plugins_/linkcheck/trunk/paquet.xml

    r112174 r112851  
    22        prefix="linkcheck"
    33        categorie="maintenance"
    4         version="1.5.0"
     4        version="1.5.1"
    55        etat="stable"
    66        compatibilite="[3.0.5;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.