switch main home mount to WDblack disk
authorRobert Kaiser <kairo@kairo.at>
Mon, 30 Jul 2012 11:36:59 +0000 (13:36 +0200)
committerRobert Kaiser <kairo@kairo.at>
Mon, 30 Jul 2012 11:36:59 +0000 (13:36 +0200)
include/classes/useragent.php-class
testbed/ua_list_raw.txt

index 0512f69..776cae4 100755 (executable)
@@ -1147,6 +1147,11 @@ class userAgent {
             $this->uadata['lang'] = null;
             $this->uadata['eng_version'] = null;
           }
+          elseif (preg_match('|Mozilla/5.0 \(Mobile; rv:([^\);]+)\)|', $this->uastring, $regs)) {
+            $this->uadata['os'] = 'Firefox OS';
+            $this->uadata['lang'] = null;
+            $this->uadata['eng_version'] = $regs[1];
+          }
           elseif (preg_match('|Mozilla/5.0 \(([^;]+); rv:([^\);]+)\)|', $this->uastring, $regs)) {
             $this->uadata['os'] = $regs[1];
             $this->uadata['lang'] = null;
index 14af366..c7a60c9 100755 (executable)
@@ -73,6 +73,7 @@ Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090923 Sh
 Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2a2pre) Gecko/20090917 Namoroka/3.6a2pre
 Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3pre) Gecko/20100403 Lorentz/3.6.3plugin2pre (.NET CLR 4.0.20506)
 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007110108 prism/0.8
+Mozilla/5.0 (Mobile; rv:17.0) Gecko/17.0 Firefox/17.0
 Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.4pre) Gecko/20090928 Lightning/1.0pre Shredder/3.0pre
 Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100514 Lanikai/3.1b1
 Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0
@@ -493,5 +494,4 @@ Mozilla
 HeinrichderMiragoRobot
 dumbBot
 42_HAL
-#proposed (B2G / Firefox OS)
-Mozilla/5.0 (Mobile; rv:12.0) Gecko/12.0 Firefox/12.0
+#proposed