Comments (5)
I think this is actually a bug in PHP's get_browser
function, it seems to have a problem with the + symbol. A workaround, as mentioned in the post you linked to is to change + to ? - but this is a hack, and is not the correct way to fix this, so we won't be doing this in the .ini files themselves. I haven't had a chance to look into this to confirm, but I'm fairly sure this is a PHP bug, not Browscap.
from browscap.
Yes, ti's a bug in browscap PHP library. The files themselves are constructed correctly. Is browscap library managed by php.net? If so, then I'm gonna submit a bug to them, although I don't know how long it will take them to fix it.
from browscap.
Yes, the get_browser() method is part of the PHP "standard" extension - you can see the file here: https://github.com/php/php-src/blob/master/ext/standard/browscap.c -
I would recommend using the browscap/browscap-php library in the mean time.
from browscap.
If you do report it to PHP, could you link to the bug here for anyone looking for a resolution to this please?
from browscap.
Bug submitted
https://bugs.php.net/bug.php?id=65550
from browscap.
Related Issues (20)
- Chrome 113 not detected with php_browscap Version=6001003 HOT 7
- Mozilla/5.0 (Linux; Android 11; Infinix X6812 Build/RP1A.200720.011; wv) HOT 1
- Unable to detect chrome 113 browser version HOT 2
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 HOT 1
- Mozilla/5.0 (Linux; Android 7.0; SM-G892A Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/60.0.3112.107 Mobile Safari/537.36 https://deepcrawl.com/bot HOT 1
- Parse Browser-Major-Version Wrong ~ HOT 1
- UA for Microsoft Outlook on Windows 11 not recognized HOT 1
- BingBot ua missing HOT 3
- Mozilla/5.0 (Linux; Android 9.0; SM-T865) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 HOT 1
- browscap is compatible with PHP-FPM HOT 6
- ua return unknown result HOT 1
- Mozilla/5.0 (iPhone; CPU iPhone OS 17_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1 HOT 2
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 OPR/103.0.0.0
- Support for Imagesift Bot / GPTBot
- Unknown platform version for (i)OS HOT 1
- BROWSER_VERSION for Safari is 0 after version 16.2 - New versions of Safari are missing. HOT 1
- some user agent are missing
- user agent missing for Google Chrome Version 126.0.6423.2 (Official Build) dev (64-bit)
- My IP has been permanently banned. HOT 3
- IP Address Permanently Banned HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browscap.