Skip to content

Commit

Permalink
Improves engine detection for Pluma (#7866)
Browse files Browse the repository at this point in the history
* Remove double quotes
* Improves engine detection for Pluma
  • Loading branch information
liviuconcioiu authored Oct 21, 2024
1 parent cbade6d commit 3b87334
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Parser/Client/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ class Browser extends AbstractClientParser
'K4', 'WK', 'T3', 'K5', 'MU', '9P', 'K6', 'VR', 'N9',
'M9', 'F9', '0P', '0A', 'JR', 'D3', 'TK', 'BP', '2F',
'2M', 'K7', '1N', '8A', 'H7', 'X3', 'T4', 'X4', '5O',
'8C', '3M', '6I', '2P', 'PU', '7I', 'X5', 'AL',
'8C', '3M', '6I', '2P', 'PU', '7I', 'X5', 'AL', '3P',
],
'Firefox' => [
'FF', 'BI', 'BF', 'BH', 'BN', 'C0', 'CU', 'EI', 'F1',
Expand Down Expand Up @@ -816,7 +816,7 @@ class Browser extends AbstractClientParser
'DP', 'KL', 'K4', 'N6', 'KU', 'WK', 'M8', 'UP', 'ZT',
'9P', 'N8', 'VR', 'N9', 'M9', 'F9', '0P', '0A', '2F',
'2M', 'K7', '1N', '8A', 'H7', 'X3', 'X4', '5O', '6I',
'7I', 'X5',
'7I', 'X5', '3P',
];

/**
Expand Down
22 changes: 11 additions & 11 deletions Tests/Parser/Client/fixtures/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7138,9 +7138,9 @@
client:
type: browser
name: Brave
version: "106.0.0.0"
version: 106.0.0.0
engine: Blink
engine_version: "106.0.0.0"
engine_version: 106.0.0.0
family: Chrome
headers:
Sec-CH-UA: '"Chromium";v="106", "Brave";v="106", "Not;A=Brand";v="99"'
Expand All @@ -7149,9 +7149,9 @@
client:
type: browser
name: Brave
version: "106.0.0.0"
version: 106.0.0.0
engine: Blink
engine_version: "106.0.0.0"
engine_version: 106.0.0.0
family: Chrome
headers:
Sec-CH-UA: '"Chromium";v="106", "Brave Browser";v="106", "Not;A=Brand";v="99"'
Expand Down Expand Up @@ -7854,9 +7854,9 @@
client:
type: browser
name: Crow Browser
version: "94.0.4606.128"
version: 94.0.4606.128
engine: Blink
engine_version: "94.0.4606.128"
engine_version: 94.0.4606.128
family: Chrome
headers:
Sec-CH-UA: '"Not.A/Brand";v="8", "Chromium";v="94", "CrowBrowser";v="94"'
Expand All @@ -7865,9 +7865,9 @@
client:
type: browser
name: Vewd Browser
version: "4.24.3.23"
version: 4.24.3.23
engine: Blink
engine_version: "120.0.6099.56"
engine_version: 120.0.6099.56
family: Chrome
headers:
Sec-CH-UA: '"Not_A Brand";v="8", "Chromium";v="120", "Vewd Core";v="4.24"'
Expand Down Expand Up @@ -8858,9 +8858,9 @@
type: browser
name: Pluma
version: 119.0.0.0
engine: ""
engine_version: ""
family: ""
engine: Blink
engine_version: 119.0.0.0
family: Chrome
headers:
Sec-CH-UA: '"Pluma";v="119.0.0.0", "Chromium";v="119.0.0.0", "Not?A_Brand";v="24.0.0.0"'
Sec-CH-UA-Full-Version: 119.0.0.0
Expand Down

0 comments on commit 3b87334

Please sign in to comment.