X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FParser.php;h=61fffc5564851dede1e8e7c8f04c6bde6d17182f;hb=26bef0e5bfd518b5f7148db8869b56886e7bff7f;hp=c5c472ada82cf4136f724ca3fd2435bddfb0b348;hpb=0525f22b8825c617fffa98f191ab07e8113da085;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index c5c472ada8..61fffc5564 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -5527,7 +5527,7 @@ class Parser { $paramName = 'no-link'; $value = true; $validated = true; - } elseif ( preg_match( "/^(?i)$prots/", $value ) ) { + } elseif ( preg_match( "/^((?i)$prots)/", $value ) ) { if ( preg_match( "/^((?i)$prots)$chars+$/u", $value, $m ) ) { $paramName = 'link-url'; $this->mOutput->addExternalLink( $value );