diff --git a/src/View/Helper/TextHelper.php b/src/View/Helper/TextHelper.php index 385e5c7ee38..61e7b124bfe 100644 --- a/src/View/Helper/TextHelper.php +++ b/src/View/Helper/TextHelper.php @@ -123,7 +123,7 @@ public function autoLinkUrls($text, array $options = []) (?[\[<(]) # left paren,brace (?> # Lax match URL - (?(?:https?|ftp|nntp):\/\/[\p{L}0-9.\-_:]+(?:[\/?][\p{L}0-9.\-_:\/?=&>\[\]()#@\+~!;%]+)?) + (?(?:https?|ftp|nntp):\/\/[\p{L}0-9.\-_:]+(?:[\/?][\p{L}0-9.\-_:\/?=&>\[\]()#@\+~!%]+)?) (?[\])>]) # right paren,brace ) )