Skip to content

Commit

Permalink
Fix OneDrive
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed May 30, 2020
1 parent 9101a7b commit 6d6d14c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions analyzer/src/main/resources/UserAgents/SpecialBrowsers.yaml
Expand Up @@ -3304,13 +3304,20 @@ config:
AgentNameVersionMajor : 'Google Earth Pro 7'


- matcher:
require:
- 'agent.product.name[1]="OnedriveMpc"'
extract:
- 'DeviceName : 1000 : "<<<null>>>"'

# A Microsoft OneDrive related useragent
# TODO: Figure out what the right values are
# The real client is kinda unknown. It is probably the OneDrive client running on Windows 10 (i.e. Desktop)
# But it may also be a OneDrive client on a Mobile device. Because the useragent does not show this returns "Unknown".
- test:
input:
user_agent_string: 'OneDriveMpc-Transform_Thumbnail/1.0'
expected:
DeviceName : 'OnedriveMpc-Transform_Thumbnail'
DeviceName : 'Unknown'
AgentClass : 'Special'
AgentName : 'OneDriveMpc-Transform_Thumbnail'
AgentVersion : '1.0'
Expand Down

0 comments on commit 6d6d14c

Please sign in to comment.