Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Fixed Dell Streak 7
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Mar 5, 2021
1 parent 88b6252 commit 77227d7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ v5.23-SNAPSHOT
===
- Analyzer
- Updated the list of recognized Apple device ids.
- Fixed "Dell Streak 7"
- Updated UDF dependencies
- Apache Beam 2.28.0

Expand Down
30 changes: 30 additions & 0 deletions analyzer/src/main/resources/UserAgents/Android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1883,3 +1883,33 @@ config:
AgentLanguage : 'English (United States)'
AgentLanguageCode : 'en-us'
AgentSecurity : 'Strong security'

- test:
input:
user_agent_string: 'Mozilla/5.0 (Linux; U; Android 3.2; es-es; Dell Streak 7 Build/HTJ85B) AppleWebKit/534.13 (KHTML like Gecko) Version/4.0 Safari/534.13'
expected:
DeviceClass : 'Tablet'
DeviceName : 'Dell Streak 7'
DeviceBrand : 'Dell'
OperatingSystemClass : 'Mobile'
OperatingSystemName : 'Android'
OperatingSystemVersion : '3.2'
OperatingSystemVersionMajor : '3'
OperatingSystemNameVersion : 'Android 3.2'
OperatingSystemNameVersionMajor : 'Android 3'
OperatingSystemVersionBuild : 'HTJ85B'
LayoutEngineClass : 'Browser'
LayoutEngineName : 'AppleWebKit'
LayoutEngineVersion : '534.13'
LayoutEngineVersionMajor : '534'
LayoutEngineNameVersion : 'AppleWebKit 534.13'
LayoutEngineNameVersionMajor : 'AppleWebKit 534'
AgentClass : 'Browser'
AgentName : 'Stock Android Browser'
AgentVersion : '4.0'
AgentVersionMajor : '4'
AgentNameVersion : 'Stock Android Browser 4.0'
AgentNameVersionMajor : 'Stock Android Browser 4'
AgentLanguage : 'Spanish (Spain)'
AgentLanguageCode : 'es-es'
AgentSecurity : 'Strong security'
2 changes: 2 additions & 0 deletions analyzer/src/main/resources/UserAgents/EMailClients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,8 @@ config:


- matcher:
require:
- 'agent.(1-3)product.comments.entry.(1-4)product.name[1]="Desktop"'
variable:
- 'Dell :agent.(1-3)product.comments.entry.(1-4)product.name[1]="Dell"@'
extract:
Expand Down

0 comments on commit 77227d7

Please sign in to comment.