Closed
Bug 24704
Opened 25 years ago
Closed 24 years ago
OS field in bugzilla doesn't pick up Windows NT
Categories
(Bugzilla :: Bugzilla-General, defect, P3)
Tracking
()
People
(Reporter: phil, Assigned: justdave)
Details
(Whiteboard: 2.16)
The user-agent for mozilla on NT seems to be:
Mozilla/5.0 [en-US] (Windows_NT; I)
but when I file bugs, the OS field always says "other".
Reporter | ||
Comment 1•25 years ago
|
||
I notice that 4.x uses "WinNT" rather than "Windows_NT". So maybe the real bug
is that the user-agent is wrong?
Comment 2•25 years ago
|
||
This is looking like a DUP of either bug 21131, "user agent string breaks
bugzilla's os/platform input feature", ASSIGNED, M14, fix in hand, OR
bug 23583, "Platform and OS not detected", depending on whether you want to
wait for Mozilla to start sending a User Agent string more like 4.x's
or arrange for Bugzilla to handle more variations, "just in case".
Quoting from a webserver log:
"Mozilla/4.7 [en] (WinNT; I)"
"Mozilla/5.0 [en-US] (Windows_NT; I)"
Reporter | ||
Comment 3•25 years ago
|
||
cc'ing wtc since I believe the OS string is picked up from NSPR.
Comment 4•25 years ago
|
||
PR_GetSystemInfo(PR_SI_SYSNAME) returns "Windows_NT",
"Windows_98", and "Windows_95" (see bug #15738). You
can map these strings to the desired OS names for your
application, e.g.,
"Windows_NT" ==> "WinNT".
Reporter | ||
Comment 5•25 years ago
|
||
Warren, should necko be doing this mapping?
Comment 6•25 years ago
|
||
It is worth considering to change PR_GetSystemInfo
to return the exact OS names that Mozilla uses,
if Mozilla's OS names are general enough. Is there
a list?
However, NSPR is in code freeze for the 4.0 release.
So I'm not sure if we'll be able to get this change
in. Once 4.0 is released, we won't be able to change
this until 5.0.
Comment 7•25 years ago
|
||
tara@tequilarista.org is the new owner of Bugzilla and Bonsai. (For details,
see my posting in netscape.public.mozilla.webtools,
news://news.mozilla.org/38F5D90D.F40E8C1A%40geocast.com .)
Assignee: terry → tara
Updated•24 years ago
|
QA Contact: matty
Whiteboard: 2.14
Updated•24 years ago
|
Whiteboard: 2.14 → 2.16
Assignee | ||
Comment 9•24 years ago
|
||
moving to real milestones...
Target Milestone: --- → Bugzilla 2.16
Reporter | ||
Comment 10•24 years ago
|
||
Not a problem anymore. Sean's probably right that it was a dup of bug 21131.
*** This bug has been marked as a duplicate of 21131 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 12•24 years ago
|
||
moving to Bugzilla product
reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Target Milestone: Bugzilla 2.16 → ---
Version: other → unspecified
Updated•12 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
•