mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
Fix URLS with ! in query were not properly activated, leaving out part of the URL
This commit is contained in:
parent
526a0a0907
commit
bfc9588739
@ -63,7 +63,7 @@ class Html
|
|||||||
// First match things beginning with http:// (or other protocols)
|
// First match things beginning with http:// (or other protocols)
|
||||||
$Protocol = '(http:\/\/|(ftp:\/\/|https:\/\/))'; // only http:// gets removed, other protocolls are shown
|
$Protocol = '(http:\/\/|(ftp:\/\/|https:\/\/))'; // only http:// gets removed, other protocolls are shown
|
||||||
$Domain = '([\w-]+\.[\w\-.]+)';
|
$Domain = '([\w-]+\.[\w\-.]+)';
|
||||||
$Subdir = '([\w\-\.,@?^=%&;:\/~\+#]*[\w\-\@?^=%&\/~\+#])?';
|
$Subdir = '([\w\-\.,@?^=%&!;:\/~\+#]*[\w\-\@?^=%&\/~\+#])?';
|
||||||
$optStuff = '("|"|;)?';
|
$optStuff = '("|"|;)?';
|
||||||
$Expr = '/' . $NotAnchor . $Protocol . $Domain . $Subdir . $optStuff . '/i';
|
$Expr = '/' . $NotAnchor . $Protocol . $Domain . $Subdir . $optStuff . '/i';
|
||||||
// use preg_replace_callback as we experienced problems with https links
|
// use preg_replace_callback as we experienced problems with https links
|
||||||
|
Loading…
Reference in New Issue
Block a user