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

Adds detection for Foxmail and Mail Master #7616

Merged
merged 3 commits into from
Mar 7, 2024
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/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'
Loading