summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-02-14 22:51:03 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-02-14 22:51:03 +0100
commit1bc66daa8b5b8c3a2649e900bc4cc1801dfc3b6f (patch)
tree21087f7e4cfd454ff9af60c70d40d68d2a7bea22 /buglist.cgi
parente9346b996d8a49f9438cf567ea9eb356b31f206a (diff)
downloadbugzilla-1bc66daa8b5b8c3a2649e900bc4cc1801dfc3b6f.tar.gz
bugzilla-1bc66daa8b5b8c3a2649e900bc4cc1801dfc3b6f.tar.xz
Bug 480044: Use dashes instead of colons to separate bug IDs in the BUGLIST cookie, because colons are HTML-escaped, making the cookie bigger than the 4k limit
r=mkanat a=LpSolit
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 64681b2cd..85162ff56 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -184,7 +184,7 @@ if (my $last_list = $cgi->param('regetlastlist')) {
$cgi->cookie('BUGLIST') || ThrowUserError("missing_cookie");
$order = "reuse last sort" unless $order;
$bug_ids = $cgi->cookie('BUGLIST');
- $bug_ids =~ s/:/,/g;
+ $bug_ids =~ s/[:-]/,/g;
}
# But logged in users store the last X searches in the DB so they can
# have multiple bug lists available.