summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2011-07-08 20:08:46 +0200
committerReed Loden <reed@reedloden.com>2011-07-08 20:08:46 +0200
commit8356bb7edf60f6956d825a2aef79dad6e087321b (patch)
tree6424e98e17bbf4b938a38e3fd7fd70f8d636f1a9
parenteccedd19189b7d1d637fbd52caff0f7eeccf63c1 (diff)
downloadbugzilla-8356bb7edf60f6956d825a2aef79dad6e087321b.tar.gz
bugzilla-8356bb7edf60f6956d825a2aef79dad6e087321b.tar.xz
Bug 670169 - Escape '>' in js filter
[r=LpSolit a=LpSolit]
-rw-r--r--Bugzilla/Template.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 8a7f538bd..726ca1ca3 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -655,6 +655,7 @@ sub create {
$var =~ s/\r/\\r/g;
$var =~ s/\@/\\x40/g; # anti-spam for email addresses
$var =~ s/</\\x3c/g;
+ $var =~ s/>/\\x3e/g;
return $var;
},