Closed
Bug 29164
Opened 25 years ago
Closed 25 years ago
user-agent has two Mozilla product tokens
Categories
(Core :: Networking, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: cbegle, Assigned: jud)
Details
(Whiteboard: [PDT+] (since fix in hand))
here's our current user-agent
User-Agent: Mozilla/5.0 (Windows; N; NT4.0; en-US) Mozilla/m13
BuildID: 20000224
There are two Mozilla product tokens. Can we have the m13 in the comment if we
can't put it in the Mozilla version? The two Mozilla product tokens is just
wrong.
Assignee | ||
Comment 1•25 years ago
|
||
well... I now look at the first (original UA string) as some opaque string that
we don't even look at or care about. We can't change it. So, if we want to be
inline with the new spec, this is how it is (note that the vendor token for
netscape is "Netscape/6.0m14") if we want external parsers to start using our
new values, we have to be consistent.
Reporter | ||
Comment 2•25 years ago
|
||
What new spec?
We can change the string -- let's put the m13 in the comment. The comment is
already different, since it has the language info in there. Adding another
part to the comment is better than having two MOzilla product tokens, I think.
The Gecko string, when it gets here, will make the string unique to Mozilla.
At least, that was the intention of the document I wrote.
Assignee | ||
Comment 3•25 years ago
|
||
what I'm saying is that there aren't two product tokens. There's this *thing* up
front that happens to have the text "Mozilla" in it. The Vendor token indicates
an entity that is packaging the product (in this case Mozilla; in the commercial
case "Netscape", in yahoo's case "Yahoo"). If we can pull this string out, then
the "spec" is invalidated and my original point is proven (we don't need *any*
of this extra stuff anyway :-). We put this string in so parsers could parse out
the "vendor" of the client. If we don't specify the vendor when mozilla pushes a
client out, but we do for everyone else, we've trashed our own spec (the one you
put together).
Reporter | ||
Comment 4•25 years ago
|
||
Okay, I see where you're coming from, but I think you're wrong. :-)
You have a token made up of "vendorShortName"/"vendorVersion". The spec has a
token for VendorProductToken, *not* a vendor token. This is for products that
are *based on Mozilla*, i.e., the "Netscape" in the user-agent for Netscape
commercial builds does not refer the Vendor, it's the name of the product
that's based on Mozilla.
See the examples at the bottom of the document:
A mozilla.org release Mozilla/5.001 (windows; U; NT4.0; en-us) Gecko/25250101
A branded release based on Mozilla/5.001 (Macintosh; N; PPC; ja)
the same codebase as the Gecko/25250101 MegaCorpBrowser/1.0 (MegaCorp, Inc.)
browser above
Also, the spec has the VendorProductToken being optional, and used for products
that are based on Mozilla. So removing this token does not invalidate the
spec.
Reporter | ||
Comment 5•25 years ago
|
||
can we get this in for M14 please please please
Assignee | ||
Comment 6•25 years ago
|
||
but I just fixed another bug that you filed that asked me to do this??? I'm not
touching the UA string again, until someone can come up with a coherent
strategy.
Reporter | ||
Comment 7•25 years ago
|
||
jud, what i'm asking for is coherent with what i wrote before. what is it that
you don't understand?
the other bug is for Netscape; this is for Mozilla's user-agent string.
Reporter | ||
Comment 8•25 years ago
|
||
s/coherent/consistent
Reporter | ||
Comment 9•25 years ago
|
||
can one of you beat^H^H^H^H talk some sense into jud here?
Assignee | ||
Comment 10•25 years ago
|
||
no need. christine beat it into me. will fix this asap. putting beta1
Status: NEW → ASSIGNED
Keywords: beta1
Assignee | ||
Comment 11•25 years ago
|
||
waiting for review.
Reporter | ||
Comment 12•25 years ago
|
||
god-of-your-choice bless you jud valeski!
p.s. one last thing.. when this gets reviewed can we get this fix onto the M14
branch?
Comment 13•25 years ago
|
||
PDT+ for beta1. M14 is a done deal... and should not be worked on. Land on the
tip asap.
Whiteboard: [PDT+] (since fix in hand)
Comment 14•25 years ago
|
||
cbegle, if you want this one in M14, I'll land it there after Jud slams the tip.
Jud, please reassign this to me (the irony) when you're into the tip.
Updated•25 years ago
|
Target Milestone: M14
Assignee | ||
Comment 15•25 years ago
|
||
so should we just stick the milestone in the misc field for Netscape too? This
would leave the Netscape product token as "Netscape/6.0".
Assignee | ||
Comment 16•25 years ago
|
||
actually, don't answer that. I don't care. I don't have time for all the little
details of this string. I'll maintain the code, but now that all the fields are
prefs, someone else (christine? eric?) should adjust the values as necessary.
Assignee | ||
Comment 17•25 years ago
|
||
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•