Wrong browser on Safari user_agent
Open
- Dominant language
- PHP
- Stars
- 4.9k
- Forks
- 545
- PR merge metrics
- No merged PRs in 30d
Description
Example:
```
Mozilla/5.0 (iPhone; CPU iPhone OS 8_4_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12H321 [FBAN/FBIOS;FBAV/45.0.0.45.96;FBBV/18289579;FBDV/iPhone5,4;FBMD/iPhone;FBSN/iPhone OS;FBSV/8.4.1;FBSS/2; FBCR/VIVO;FBID/phone;FBLC/pt_BR;FBOP/5]
```
is returning `Mozilla` on `->browser() method`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the browser() method and reproduce the reported result with the supplied user-agent string. Trace why this Safari user agent is classified as Mozilla, then add a regression test that verifies the expected browser identification and run the relevant test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100