ID: 25571 Updated by: [EMAIL PROTECTED] Reported By: andreas dot lange at haas-media dot de -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Linux Redhat 7.3 PHP Version: 4.3.3 New Comment:
at least HEAD works fine. Previous Comments: ------------------------------------------------------------------------ [2003-09-17 06:57:07] andreas dot lange at haas-media dot de Description: ------------ A simple change: The detection of the scheme uses ':' for the splitting. Better splitting ist '://'. with best regards Andreas Lange Reproduce code: --------------- <?php $url = '/test::board/test.php?x=1'; $p = parse_url($url); echo '<pre>'; print_r($p); echo '</pre>'; ?> Expected result: ---------------- [path] => /test::board/test.php [query] => x=1 Actual result: -------------- [scheme] => /test [path] => :board/test.php [query] => x=1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25571&edit=1
