Closed
Bug 160227
Opened 23 years ago
Closed 23 years ago
VERSION cookie not set correctly
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: bbaetz, Assigned: bbaetz)
Details
(Keywords: regression, Whiteboard: [fixed in 2.16.1])
Attachments
(1 file)
740 bytes,
patch
|
myk
:
review+
myk
:
review+
|
Details | Diff | Splinter Review |
The VERSION-$product cookie which post_bug sets is now only a session cookie. I
looked into this, and it appears that apache is printing
path=/bugzilla/ ; expires=Sun, 30-Jun-2029 00: 00:00 GMT
Set-Cookie: VERSION-Foo=0.999 ;
Note that the path/expires is _above_ the Set-Cookie line (and on a different
line, too). This is from a network trace; its not a browser thing. This means
that the path/expires stuff isn't used, so it becomes a session cookie, and if
the path isn't / then it won't be used at all (because an existing cookie for
the real path is more specific)
It appears apache is converting the \<nl> in our set-cookie line into the
_opposite_ of a CR, possibly due to the unix line ending?? I'm seeing this on
bmo too, so its not a local thing.
Anyway, the fix is to just use . to concatenate the two strings. I'd love an
explanation, though.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
This is a regression. Have we decided whether or not to check fixes for these
into the 2.16 branch or not, btw?
Comment 3•23 years ago
|
||
Comment on attachment 93349 [details] [diff] [review]
v1
Yup, regression. Yup, this fixes it.
Attachment #93349 -
Flags: review+
Comment 4•23 years ago
|
||
Comment on attachment 93349 [details] [diff] [review]
v1
Just in case the 2.16 branch needs second reviews, here's 2xr=myk.
Attachment #93349 -
Flags: review+
Assignee | ||
Comment 5•23 years ago
|
||
This has been checked into the trunk; I've posted to the bugzilla list to
discuss 2.16.1, and I may check it in there after that.
Leaving open for a few days to come to a conclusion.
Assignee | ||
Comment 6•23 years ago
|
||
OK, checked in on teh 2.16 branch too
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: fixed in 2.16.1
Assignee | ||
Updated•23 years ago
|
Whiteboard: fixed in 2.16.1 → [fixed in 2.16.1]
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•