|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-05-27 21:52 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2015-05-27 21:52 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 08:00:02 2026 UTC |
Description: ------------ Place a url in a section of PHP code. PHP accepts it PHP gives neither an error nor a 500 response. I intended to comment out the URL, but forgot. PHP should have complained, but did not. Test script: --------------- <?php ini_set('display_errors','On'); // On the next line, any URL can be used. http://encosia.com/5-steps-toward-jquery-mastery/ ?> Expected result: ---------------- I expect a 500 fault. The URL contains "//", which comments out most of the URL. What is left is "http:" . The parser is accepting "http:" without balking.