WhichBrowser / Parser-PHP

Browser sniffing gone too far — A useragent parser library for PHP
http://whichbrowser.net
MIT License
1.79k stars 240 forks source link

Escape incoming UA #623

Closed summercms closed 3 years ago

summercms commented 3 years ago

Can't directly escape UA, see more details here:

https://webmasters.stackexchange.com/questions/90074/how-to-determine-if-a-user-agent-string-has-proper-syntax-or-might-be-a-hacking

Closing this and doing a custom escape method on my project.