PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_UserAgent_Mobile » Bug #8584

FOMA's UA strings with irregular icc attributes can't be parsed

Details

Submitted2006-08-30 02:09 UTC
Fromkoizumi at gree dot co dot jp
Assignedkuboa
StatusClosed
PackageNet_UserAgent_Mobile
PHP Version4.3.11
OSLinux
Roadmaps(Not assigned)

Comments

[2006-08-30 02:09 UTC] koizumi at gree dot co dot jp

Description:
------------
Some user agents occasionally send the User-Agent header of the following format:

NM850iG(c100;TB;W22H10;ser000000000000000;icc)

I think Net_UserAgent_Mobile_DoCoMo::parseFOMA() is a bit too strict. Isn't it possible to leave off the unparsable attributes instead of falling back to 'no match'?

[2006-11-08 03:09 UTC] kuboa at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.