Closed
Bug 590258
Opened 14 years ago
Closed 14 years ago
Reformat x86-on-x86_64 part of Linux UA string
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dwitte, Assigned: dwitte)
References
Details
Attachments
(1 file)
1.04 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Spinoff from bug 589353. We currently have "(X11, Linux x86 (x86_64), rv:...)". The nested parens are guaranteed to cause trouble, and very few people probably test against this particular case. For instance, our very own rv detection algorithm on geckoisgecko.org and https://developer.mozilla.org/en/Browser_Detection_and_Cross_Browser_Support breaks because of this.
We should say "x86 on x86_64" or "x86/x86_64" instead.
Right, the nested parentheses can be confusing, and in fact violate RFC 2616: http://asg.web.cmu.edu/rfc/rfc2616.html#sec-2.2
> "x86 on x86_64" or "x86/x86_64"
The "on" version is unambiguous, though the reverse (x86_64 on x86) unlikely, thus the second form shouldn't be a problem either.
> (correction to comment #1) and in fact violate RFC 2616:
Eh, maybe not - a comment can contain a comment and hence {"(" {"(" ")"} ")"}:
comment = "(" *( ctext | quoted-pair | comment ) ")"
ctext = <any TEXT excluding "(" and ")">
Assignee | ||
Comment 3•14 years ago
|
||
Whether it violates it isn't relevant here; the fact that it breaks things IRL does.
Assignee | ||
Comment 5•14 years ago
|
||
Assignee: nobody → dwitte
Status: NEW → ASSIGNED
Attachment #469257 -
Flags: superreview?(jst)
Attachment #469257 -
Flags: review?(jst)
Updated•14 years ago
|
Attachment #469257 -
Flags: superreview?(jst)
Attachment #469257 -
Flags: superreview+
Attachment #469257 -
Flags: review?(jst)
Attachment #469257 -
Flags: review+
Assignee | ||
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•