diff --git a/Parser/Client/Browser.php b/Parser/Client/Browser.php index 3b7fd53ec4..72150c91ef 100644 --- a/Parser/Client/Browser.php +++ b/Parser/Client/Browser.php @@ -89,6 +89,7 @@ class Browser extends ClientParserAbstract 'IA' => 'Iceape', 'IB' => 'IBrowse', 'IC' => 'iCab', + 'I1' => 'Iridium', 'ID' => 'IceDragon', 'IV' => 'Isivioo', 'IW' => 'Iceweasel', diff --git a/Tests/Parser/Client/fixtures/browser.yml b/Tests/Parser/Client/fixtures/browser.yml index c646608daa..cd9b7ccfbe 100644 --- a/Tests/Parser/Client/fixtures/browser.yml +++ b/Tests/Parser/Client/fixtures/browser.yml @@ -1655,3 +1655,12 @@ version: "30.0" engine: Gecko engine_version: +- + user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Iridium/41.2 Safari/537.36 Chrome/41.0.2272.118 + client: + type: browser + name: Iridium + short_name: I1 + version: "41.2" + engine: WebKit + engine_version: 537.36 diff --git a/regexes/client/browsers.yml b/regexes/client/browsers.yml index 218fa36223..992b3a9fce 100644 --- a/regexes/client/browsers.yml +++ b/regexes/client/browsers.yml @@ -122,6 +122,11 @@ engine: default: 'Blink' +#Iridium +- regex: 'Iridium(?:/(\d+[\.\d]+))?' + name: 'Iridium' + version: '$1' + #Iceweasel - regex: 'Iceweasel(?:/(\d+[\.\d]+))?' name: 'Iceweasel'