Bug #65550 [Com]: get_browser() incorrectly parses entries with "+" sign
| From: | Cfhhyn95 at gmail dot com | Date: | Wed, 20 Jan 2021 14:38:13 +0000 |
| Subject: | Bug #65550 [Com]: get_browser() incorrectly parses entries with "+" sign | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231670@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65550&edit=1
ID: 65550
Comment by: Cfhhyn95 at gmail dot com
Reported by: quentin389 at gmail dot com
Summary: get_browser() incorrectly parses entries with "+"
sign
Status: Closed
Type: Bug
Package: Unknown/Other Function
Operating System: Linux
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Https://herpescurecare.com
Previous Comments:
------------------------------------------------------------------------
[2016-10-17 10:09:02] bwoebi@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2139918ea6f5088e9ed5daa734568b4a50217f52
Log: Fix #65550: get_browser() incorrectly parsers entries with "+" sign
------------------------------------------------------------------------
[2016-08-26 23:34:46] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2139918ea6f5088e9ed5daa734568b4a50217f52
Log: Fix #65550: get_browser() incorrectly parsers entries with "+" sign
------------------------------------------------------------------------
[2016-08-26 22:58:01] cmb@php.net
> The "+" in the ini files is a LITERAL character, not a wildcard
> match.
Indeed. Thanks!
------------------------------------------------------------------------
[2015-05-27 01:09:07] contact at willianveiga dot com
I cannot reproduce this on master (b73f87b). Maybe it was already fixed.
------------------------------------------------------------------------
[2013-10-24 08:31:36] oliver at realtsp dot com
I can confirm this bug on php 5.4.14 using this browscap file:
http://tempdownloads.browserscap.com/stream.asp?PHP_BrowsCapINI
"Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)"
is not recognised
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=65550
--
Edit this bug report at https://bugs.php.net/bug.php?id=65550&edit=1