#19876 [Csd]: Problem with parse_url() function...
| From: | onionman at home dot se | Date: | Sat, 12 Oct 2002 20:11:53 +0000 |
| Subject: | #19876 [Csd]: Problem with parse_url() function... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22252@lists.php.net to get a copy of this message | ||
ID: 19876
User updated by: onionman@home.se
Reported By: onionman@home.se
Status: Closed
Bug Type: *URL Functions
Operating System: Windows 2000 Pro (Sp3)
PHP Version: 4CVS-2002-10-12
New Comment:
Yep... tested it, and it works fine now.
Thanks for the fast response and fix! :)
/OnionMan
Previous Comments:
------------------------------------------------------------------------
[2002-10-12 14:29:30] iliaa@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
The latest snapshot has this problem fixed.
http://snaps.php.net/win32/php4-win32-200210121800.zip
------------------------------------------------------------------------
[2002-10-12 12:56:00] onionman@home.se
I just tried this snap: php4-win32-200210121400.zip
The result is different, but still incorrect:
Array
(
[scheme] => ftp
[host] => ww.moria.com
[user] => gandalf
[pass] => :mellon@
[path] => /foo/bar/index.php
[query] => page=news
)
host & pass values are wrong...
/OnionMan
------------------------------------------------------------------------
[2002-10-12 03:28:35] sesser@php.net
Please wait until the next developer snapshot is generated and try
again.
------------------------------------------------------------------------
[2002-10-11 23:31:53] iliaa@php.net
The lack for formatting for phpinfo() when html_errors are Off is
intentional.
parse_url() was recently rewritten from scratch that probably
introduced the bug you are seeing. I'll look into it in more detail.
------------------------------------------------------------------------
[2002-10-11 23:26:58] onionman@home.se
Here's a link to the phpinfo at my machine:
http://onionman.homeip.net/phpinfo/
A weird thing i noticed is that if i have 'html_errors = Off' in my
php.ini file, then phpinfo looses all it formatting and is
unreadable... is it supposed to be like this?
Anyway... i doublechecked the parse_url bug by going back to an older
snapshot (2002-10-06), and there it works like expected... and then
trying latest snap again (2002-10-12), and there it's the same result
as before... so either something has introduced a bug there since last
week... or my machine is behaving strange... ;)
/OnionMan
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/19876
--
Edit this bug report at http://bugs.php.net/?id=19876&edit=1