ua-parser / uap-core

The regex file necessary to build language ports of Browserscope's user agent parser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Versions that aren't just major/minor/patch aren't parsed correctly

dolfies opened this issue · comments

For example, with the latest chrome user-agent (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36), the .67 is lost.

We're seeing this too. Because of issues like #452, we're trying to rebuild the ClientInfo instance ourselves with UAFullVersion hints, but we can't because the UserAgent constructor only takes 3 parameters and not 4.