Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0

Request #17197 Support of Yahoo search Crawler (Vodafone)
Submitted: 2010-03-05 06:47 UTC
From: kawai Assigned:
Status: Open Package: Net_UserAgent_Mobile (version 1.0.0)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2010-03-05 06:47 UTC] kawai (Hiroaki Kawai)
Description: ------------ Yahoo crawller sends strange robot User-agent, and triggers PHP fatal error. Test script: --------------- <?php require_once('Net/UserAgent/Mobile.php'); $agent_string = "Vodafone/1.0/V705SH (compatible; Y!J-SRD/1.0; http://help.yahoo.co.jp/help/jp/search/indexing/indexing-27.html)"; $agent = Net_UserAgent_Mobile::factory($agent_string); echo $agent->isDoCoMo(); Expected result: ---------------- false Actual result: -------------- NULL PHP Fatal error: Call to undefined method Net_UserAgent_Mobile_Error::isDoCoMo() in /var/tmp/hoge.php on line 5

Comments