From 1bc66daa8b5b8c3a2649e900bc4cc1801dfc3b6f Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 14 Feb 2011 22:51:03 +0100 Subject: 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 --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buglist.cgi') 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. -- cgit v1.2.3-24-g4f1b