diff options
author | justdave%syndicomm.com <> | 2001-10-13 09:40:39 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-10-13 09:40:39 +0200 |
commit | 5c8613183f5779686e739bc9a470c770cf8ff51d (patch) | |
tree | 6d50e8ac286f64ca475bb61ab7ee3c8e9acab6a4 /createaccount.cgi | |
parent | 7084639bb653b1684638c272c4da3d62de1f702b (diff) | |
download | bugzilla-5c8613183f5779686e739bc9a470c770cf8ff51d.tar.gz bugzilla-5c8613183f5779686e739bc9a470c770cf8ff51d.tar.xz |
Fix for bug 19910: Bugzilla installs on the same server would interfere with each others' cookies. Cookies now have a path value that can be set to indicate which bugzilla install they belong to. Browsers will only send the cookie to the appropriate installation. The path can be set in the 'cookiepath' parameter in editparams.cgi.
Patch by Dave Lawrence <dkl@redhat.com>
r= myk, justdave
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-x | createaccount.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/createaccount.cgi b/createaccount.cgi index 88c18d0fd..4e5f6d49d 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -37,9 +37,9 @@ ConnectToDatabase(); # Clear out the login cookies. Make people log in again if they create an # account; otherwise, they'll probably get confused. -print "Set-Cookie: Bugzilla_login= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT -Set-Cookie: Bugzilla_logincookie= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT -Set-Cookie: Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT +my $cookiepath = Param("cookiepath"); +print "Set-Cookie: Bugzilla_login= ; path=$cookiepath; expires=Sun, 30-Jun-80 00:00:00 GMT +Set-Cookie: Bugzilla_logincookie= ; path=$cookiepath; expires=Sun, 30-Jun-80 00:00:00 GMT Content-type: text/html "; |