Never let ", <, or > be matched as part of a URL.
git-svn-id: svn://10.0.0.236/trunk@62532 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -71,7 +71,7 @@ sub quoteUrls {
|
||||
|
||||
my @things;
|
||||
while ($text =~ s%((mailto:)?([\w\.\-\+\=]+\@[\w\-]+(?:\.[\w\-]+)+)\b|
|
||||
(\b((?:$protocol):\S+[\w/])))%"##$count##"%exo) {
|
||||
(\b((?:$protocol):[^ \t\n<>"]+[\w/])))%"##$count##"%exo) {
|
||||
my $item = $&;
|
||||
|
||||
$item = value_quote($item);
|
||||
|
||||
Reference in New Issue
Block a user