aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-08-18 23:13:18 -0400
committerDave Lawrence <dlawrence@mozilla.com>2013-08-18 23:13:18 -0400
commit8d4c3e537a62b06649e60ea6cdc0abe033079c16 (patch)
treeb70243683d04c4792367a5759cbffad2ab494cd5
parent300a4ae21baa491e515526ca9d1294406dd2937e (diff)
downloadbugs-8d4c3e537a62b06649e60ea6cdc0abe033079c16.tar
bugs-8d4c3e537a62b06649e60ea6cdc0abe033079c16.tar.gz
bugs-8d4c3e537a62b06649e60ea6cdc0abe033079c16.tar.bz2
bugs-8d4c3e537a62b06649e60ea6cdc0abe033079c16.tar.xz
bugs-8d4c3e537a62b06649e60ea6cdc0abe033079c16.zip
Bug 905537 - Add support for iPod Touch in useragent strings for platform detection
r=LpSolit,a=sgreen
-rw-r--r--Bugzilla/UserAgent.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm
index 3c334d08d..844ec311f 100644
--- a/Bugzilla/UserAgent.pm
+++ b/Bugzilla/UserAgent.pm
@@ -49,7 +49,7 @@ use constant PLATFORMS_MAP => (
# HP
qr/\(.*9000.*\)/ => ["PA-RISC", "HP"],
# ARM
- qr/\(.*(?:iPad|iPhone).*\)/ => ["ARM"],
+ qr/\(.*(?:iPod|iPad|iPhone).*\)/ => ["ARM"],
qr/\(.*ARM.*\)/ => ["ARM", "PocketPC"],
# PocketPC intentionally before PowerPC
qr/\(.*Windows CE.*PPC.*\)/ => ["ARM", "PocketPC"],
@@ -125,7 +125,7 @@ use constant OS_MAP => (
qr/\(.*(?:iPad|iPhone).*OS 5.*\)/ => ["iOS 5"],
qr/\(.*(?:iPad|iPhone).*OS 4.*\)/ => ["iOS 4"],
qr/\(.*(?:iPad|iPhone).*OS 3.*\)/ => ["iOS 3"],
- qr/\(.*(?:iPad|iPhone).*\)/ => ["iOS"],
+ qr/\(.*(?:iPod|iPad|iPhone).*\)/ => ["iOS"],
qr/\(.*Mac OS X (?:|Mach-O |\()10.8.*\)/ => ["Mac OS X 10.8"],
qr/\(.*Mac OS X (?:|Mach-O |\()10.7.*\)/ => ["Mac OS X 10.7"],
qr/\(.*Mac OS X (?:|Mach-O |\()10.6.*\)/ => ["Mac OS X 10.6"],