jenssegers / jenssegers/agent

Agent giving browser as 0 for some Apple devices

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
4.9k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

I have a few User Agents which I want to process like this:

> "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_1 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Mobile/14A403"

screen shot 2016-10-04 at 5 34 29 pm

Is there a way in which I can find the browser in these types of UAs

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported iPhone user-agent input and trace how the parser determines the browser value. Done means this user agent is assigned the correct browser instead of 0, with a regression test covering the input.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.