Skip to content

windows() method incorrectly identifies NT 5.2 #94

@wjhendr

Description

@wjhendr

Hello,

I'm using version 1.75 of the module.

Using the following UA string:

Mozilla/5.0 (Windows NT 5.2; WOW64; rev:26.0) Gecko/20100101 Firefox/26.0

where i believe the relevant portion is "NT 5.2", i was informed that:

$browser->win2k3() = 1
$browser->winxp() = 0

however, the user agent system is actually Windows XP Pro x64 Build 3790 (SP2).

According to Wikipedia's "List of Microsoft Windows versions", both
Windows Server 2003 and Windows XP Pro x64 have the Release version
number "NT 5.2".

http://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions

I don't have a solution, but i just wanted to point out this
discrepancy, in case you didn't already know about it.

Perhaps in the case of 5.2, both win2k3() and winxp() should return true? I don't have access to a win2k3 box, so I can't test this further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions