diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-05-22 19:23:42 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-05-22 19:23:42 +0200 |
commit | 9b4d2c5bf0bba6db0cebd9a09367782d4d9e6b27 (patch) | |
tree | e9d1541acc6f582e690bb5748e35b3a087280e0c /Bugzilla/Template.pm | |
parent | d01cbdbf9fec43da85227cff54126d83b0e9e4ca (diff) | |
parent | fc9858fed697d00fb921dd86448dad0ef70552a6 (diff) | |
download | bugzilla-9b4d2c5bf0bba6db0cebd9a09367782d4d9e6b27.tar.gz bugzilla-9b4d2c5bf0bba6db0cebd9a09367782d4d9e6b27.tar.xz |
merged with bugzilla/4.2
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index f069b19d2..870053b46 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -69,7 +69,7 @@ use constant FORMAT_2_SIZE => [19,55]; # Pseudo-constant. sub SAFE_URL_REGEXP { my $safe_protocols = join('|', SAFE_PROTOCOLS); - return qr/($safe_protocols):[^\s<>\"]+[\w\/]/i; + return qr/($safe_protocols):[^:\s<>\"][^\s<>\"]+[\w\/]/i; } # Convert the constants in the Bugzilla::Constants module into a hash we can |