|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-07-27 17:04 UTC] ddomhoff at web dot de
Description: ------------ It seems, that Net_UserAgent_Detect does not get along with user agents, which have an underscore in their string, like the W3C Validator has. If there is one, you get notices: Undefined offset: 0 in PEAR\Net\UserAgent\Detect.php on line 249 The same for offset 1, 2 and 3. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 21:00:01 2025 UTC |
Hmm, according to the line 249, it looks the reg doesnt allow '_'. if (preg_match(";^([[:alnum:]]+)[ /\(]*[[:alpha:]]*([\d]*)(\.[\d\.]*);", $agt, $matches)) {