diff options
author | lpsolit%gmail.com <> | 2005-07-07 20:53:28 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-07-07 20:53:28 +0200 |
commit | 73270363b7dabda4406b5ab638ead98a951eebeb (patch) | |
tree | d3e22918e622ad6c8196d35882a7686c0a5d787e /Bugzilla/Auth/Login | |
parent | 8ef93208df4b0c83acb4d24772b7af062d36ec78 (diff) | |
download | bugzilla-73270363b7dabda4406b5ab638ead98a951eebeb.tar.gz bugzilla-73270363b7dabda4406b5ab638ead98a951eebeb.tar.xz |
Bug 268146: mod_security complain: Invalid cookie format: Cookie value is missing #2 - Patch by Marc Schumann <wurblzap@gmail.com> r=kiko a=justdave
Diffstat (limited to 'Bugzilla/Auth/Login')
-rw-r--r-- | Bugzilla/Auth/Login/WWW/CGI.pm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Bugzilla/Auth/Login/WWW/CGI.pm b/Bugzilla/Auth/Login/WWW/CGI.pm index 98fd3a6d3..d117aef47 100644 --- a/Bugzilla/Auth/Login/WWW/CGI.pm +++ b/Bugzilla/Auth/Login/WWW/CGI.pm @@ -232,12 +232,8 @@ sub logout { sub clear_browser_cookies { my $cgi = Bugzilla->cgi; - $cgi->send_cookie(-name => "Bugzilla_login", - -value => "", - -expires => "Tue, 15-Sep-1998 21:49:00 GMT"); - $cgi->send_cookie(-name => "Bugzilla_logincookie", - -value => "", - -expires => "Tue, 15-Sep-1998 21:49:00 GMT"); + $cgi->remove_cookie('Bugzilla_login'); + $cgi->remove_cookie('Bugzilla_logincookie'); } 1; |