summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-11-11 11:23:26 +0100
committerbbaetz%student.usyd.edu.au <>2002-11-11 11:23:26 +0100
commit2fbc684f2f58e3395d0aa675171f97a65890233c (patch)
treec5a5cdebd5d6cc7312b77cc9d484e687948ba236
parentb693f20047d849a9bf3c064412ef30d7041401f8 (diff)
downloadbugzilla-2fbc684f2f58e3395d0aa675171f97a65890233c.tar.gz
bugzilla-2fbc684f2f58e3395d0aa675171f97a65890233c.tar.xz
Bug 179290 - login cookie email needs to be escaped
r=jake, a=justdave
-rw-r--r--CGI.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 9ff485265..1b22a07e4 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -561,7 +561,7 @@ sub confirm_login {
$::COOKIE{"Bugzilla_logincookie"} = $logincookie;
my $cookiepath = Param("cookiepath");
- print "Set-Cookie: Bugzilla_login=$enteredlogin ; path=$cookiepath; expires=Sun, 30-Jun-2029 00:00:00 GMT\n";
+ print "Set-Cookie: Bugzilla_login= " . url_quote($enteredlogin) . " ; path=$cookiepath; expires=Sun, 30-Jun-2029 00:00:00 GMT\n";
print "Set-Cookie: Bugzilla_logincookie=$logincookie ; path=$cookiepath; expires=Sun, 30-Jun-2029 00:00:00 GMT\n";
}