Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves detection for Tesla #7393

Merged
merged 2 commits into from
Apr 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Tests/fixtures/car_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -863,3 +863,21 @@
model: YT9216BJ
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.9999.0 Safari/537.36 Tesla/terminal-das-fsd-eap-10-69-25-2-55-a9b5f7cdab
os:
name: GNU/Linux
version: ""
platform: x64
client:
type: browser
name: Chrome
version: 102.0.9999.0
engine: Blink
engine_version: 102.0.9999.0
device:
type: car browser
brand: Tesla
model: ""
os_family: GNU/Linux
browser_family: Chrome
2 changes: 1 addition & 1 deletion regexes/device/car_browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Tesla Model S
Tesla:
regex: '(?:Tesla/(?:(?:develop|feature)-)?[0-9.]+|QtCarBrowser)'
regex: '(?:Tesla/(?:(?:develop|feature|terminal-das-fsd-eap)-)?[0-9.]+|QtCarBrowser)'
device: 'car browser'
models:
- regex: 'QtCarBrowser'
Expand Down