Re: note 28015 added to function.parse-url
| From: | Jesus M. Castagnetto | Date: | Mon, 30 Dec 2002 08:05:37 +0000 |
| Subject: | Re: note 28015 added to function.parse-url | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41455@lists.php.net to get a copy of this message | ||
See details on the reopened bug #21226.
Your sample is conformant w/ section 3.2 of the RFC,
although not a usual one, because web server use the
path as a mapping to wherever in the filesystem the
documents live.
The note will be removed
--- tl@NO_SPAM.ccf.NO_SPAM.fr wrote:
> Be carreful, PHP 4.3.0 introduces a bug in parsing
> of url :
> If you want to parse an url with a port number
> eg : http://user:password@host:8080 there is no
> problem,
> but if you want to parse an url with a query after
> port number (and without path),
> eg : http://user:password@host:8080?test=a
> It fails with a warning error.
>
> Solution :
> You *Must* put a trailing / after port number
> eg : http://user:password@host:8080/?test=a
>
> This bug was submit to bugs.php.net and, I hope
will
> be corrected, since parse_url is no compliant with
> RFC 2396 (Uniform Resource Identifiers (URI):
> Generic Syntax).
> --
> http://www.php.net/manual/en/function.parse-url.php
>
http://master.php.net/manage/user-notes.php?action=edit+28015
>
http://master.php.net/manage/user-notes.php?action=delete+28015
>
http://master.php.net/manage/user-notes.php?action=reject+28015
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
=====
--- Jesus M. Castagnetto <jmcastagnetto@php.net>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com