Skip to content

Commit

Permalink
Adds detection for Foxmail and Mail Master (#7616)
Browse files Browse the repository at this point in the history
* Adds detection for Foxmail
* Adds detection for Mail Master

---------

Co-authored-by: Tutik Alexsandr <[email protected]>
  • Loading branch information
liviuconcioiu and sanchezzzhak authored Mar 7, 2024
1 parent 5d41a2b commit a57ab14
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Tests/Parser/Client/fixtures/pim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,21 @@
type: pim
name: Microsoft Outlook
version: 16.0.12329
-
user_agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36 Foxmail/7.2.25.213
client:
type: pim
name: Foxmail
version: 7.2.25.213
-
user_agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 MailMasterPC/4.15.6.1016 Safari/537.36
client:
type: pim
name: Mail Master
version: 4.15.6.1016
-
user_agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15F79 MailMaster/6.5.3.1210
client:
type: pim
name: Mail Master
version: 6.5.3.1210
10 changes: 10 additions & 0 deletions regexes/client/pim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,13 @@
- regex: '^Mail/([\d\.]+)'
name: 'Apple Mail'
version: '$1'

# Foxmail (https://www.foxmail.com/)
- regex: 'Foxmail/(\d+[\.\d]+)'
name: 'Foxmail'
version: '$1'

# Mail Master (https://apps.apple.com/mw/app/mail-master-by-netease/id897003024)
- regex: 'MailMaster(?:PC)?/(\d+[\.\d]+)'
name: 'Mail Master'
version: '$1'

0 comments on commit a57ab14

Please sign in to comment.