diff options
author | Gijs Kruitbosch <gijskruitbosch+bugs@gmail.com> | 2014-11-17 15:05:03 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-11-17 15:05:03 +0100 |
commit | ecc04a6622cb9447eaca29be8a1c25947c1e1016 (patch) | |
tree | 9b05792606dec2c33aa8c5099378e085a4723f71 | |
parent | e15f335769d341ab65b571cd4a3cb129d17660ff (diff) | |
download | bugzilla-ecc04a6622cb9447eaca29be8a1c25947c1e1016.tar.gz bugzilla-ecc04a6622cb9447eaca29be8a1c25947c1e1016.tar.xz |
Bug 1097382: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT
-rw-r--r-- | Bugzilla/UserAgent.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm index db95150e4..62d6115a9 100644 --- a/Bugzilla/UserAgent.pm +++ b/Bugzilla/UserAgent.pm @@ -123,6 +123,7 @@ use constant OS_MAP => ( qr/\(.*Android.*\)/ => ["Android"], # Windows qr/\(.*Windows XP.*\)/ => ["Windows XP"], + qr/\(.*Windows NT 6\.4.*\)/ => ["Windows 10"], qr/\(.*Windows NT 6\.3.*\)/ => ["Windows 8.1"], qr/\(.*Windows NT 6\.2.*\)/ => ["Windows 8"], qr/\(.*Windows NT 6\.1.*\)/ => ["Windows 7"], |