[OWASP_PHPSEC] doubt in http.php

rahul chaudhary rahul300chaudhary400 at gmail.com
Thu Aug 15 18:55:40 UTC 2013


http.php

1) Line 97:
self::$BasePath=substr($BaseURL,strpos($BaseURL,"/",strpos($BaseURL,"://")+4)+1);
I guess that 4 is added after "://" to skip the string "www.". But URLs can
be valid even without "www".



-- 
Regards,
Rahul Chaudhary
Ph - 412-519-9634
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp_php_security_project/attachments/20130816/0c27206c/attachment.html>


More information about the OWASP_PHP_Security_Project mailing list