From 57767257e822eb4e9c76d194b080ba48d8fb494d Mon Sep 17 00:00:00 2001 From: Tutik Alexsandr Date: Thu, 17 Mar 2022 21:24:56 +0300 Subject: [PATCH] feat(client) detect browser Atlas issue #7039 --- Parser/Client/Browser.php | 1 + Tests/Parser/Client/fixtures/browser.yml | 11 +++++++++++ regexes/client/hints/browsers.yml | 1 + 3 files changed, 13 insertions(+) diff --git a/Parser/Client/Browser.php b/Parser/Client/Browser.php index 5c1f5d5c1e..b9c3fcfee1 100644 --- a/Parser/Client/Browser.php +++ b/Parser/Client/Browser.php @@ -85,6 +85,7 @@ class Browser extends AbstractClientParser 'AI' => 'Arvin', 'A0' => 'Atom', 'AT' => 'Atomic Web Browser', + 'A2' => 'Atlas', 'AS' => 'Avast Secure Browser', 'VG' => 'AVG Secure Browser', 'AC' => 'Avira Scout', diff --git a/Tests/Parser/Client/fixtures/browser.yml b/Tests/Parser/Client/fixtures/browser.yml index 195935ada9..38c4d1a626 100644 --- a/Tests/Parser/Client/fixtures/browser.yml +++ b/Tests/Parser/Client/fixtures/browser.yml @@ -4955,3 +4955,14 @@ family: Chrome headers: X-Requested-With: mobi.mgeek.TunnyBrowser +- + user_agent: Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.198 Mobile Safari/537.36 + client: + type: browser + name: Atlas + version: "" + engine: Blink + engine_version: "" + family: Chrome + headers: + X-Requested-With: nextapp.atlas diff --git a/regexes/client/hints/browsers.yml b/regexes/client/hints/browsers.yml index e743d56ac8..5ad9be1ccc 100644 --- a/regexes/client/hints/browsers.yml +++ b/regexes/client/hints/browsers.yml @@ -37,3 +37,4 @@ 'com.kuto.browser': 'KUTO Mini Browser' 'com.dolphin.browser.zero': 'Dolphin Zero' 'mobi.mgeek.TunnyBrowser': 'Dolphin' # Dolphin + AdBlock +'nextapp.atlas': 'Atlas'