Skip to content

Commit

Permalink
add dorodo browser device nokia (matomo-org#5556)
Browse files Browse the repository at this point in the history
* add dorodo browser device nokia

test regex https://regex101.com/r/njV2Nn/1

* adden validating browser dorodo
  • Loading branch information
sanchezzzhak authored and sgiehl committed Nov 18, 2016
1 parent f67e240 commit 6abcb67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Parser/Client/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class Browser extends ClientParserAbstract
'DB' => 'dbrowser',
'DE' => 'Deepnet Explorer',
'DF' => 'Dolphin',
'DO' => 'Dorodo',
'DI' => 'Dillo',
'EL' => 'Elinks',
'EB' => 'Element Browser',
Expand Down Expand Up @@ -185,10 +186,10 @@ class Browser extends ClientParserAbstract
'Internet Explorer' => array('IE', 'IM', 'PS'),
'Konqueror' => array('KO'),
'NetFront' => array('NF'),
'Nokia Browser' => array('NB', 'NO', 'NV'),
'Nokia Browser' => array('NB', 'NO', 'NV', 'DO'),
'Opera' => array('OP', 'OM', 'OI', 'ON'),
'Safari' => array('SF', 'MF'),
'Sailfish Browser' => array('SA')
'Sailfish Browser' => array('SA'),
);

/**
Expand Down
5 changes: 5 additions & 0 deletions regexes/client/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -970,3 +970,8 @@
version: '$1'
engine:
default: 'WebKit'

#Dorado
- regex: 'Dorado WAP-Browser/(\d+[\.\d]+)'
name: 'Dorado'
version: '$1'

0 comments on commit 6abcb67

Please sign in to comment.