#23445 [Opn->Csd]: warning on parse_url('file://C:/path/doc.txt')
| From: | sniper@php.net | Date: | Thu, 01 May 2003 23:33:49 +0000 |
| Subject: | #23445 [Opn->Csd]: warning on parse_url('file://C:/path/doc.txt') | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38904@lists.php.net to get a copy of this message | ||
ID: 23445
Updated by: sniper@php.net
Reported By: freesoftware at xs4all dot nl
-Status: Open
+Status: Closed
Bug Type: *URL Functions
Operating System: win2k
PHP Version: 4.3.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2003-05-01 17:40:45] freesoftware at xs4all dot nl
Propable related to http://bugs.php.net/bug.php?id=22423
$x=parse_url('file://C:/any/path/file.ext');
(that is, file url with driveletter)
gives:
Warning: parse_url(file://C:/any/path/file.ext) [function.parse-url]:
Unable to parse url in f:\wwwroot\test.php on line 3
it's propably the second : in the argument
I've seen applications give this type of URL's as referrer in GET
requests (eg Microsoft ActiveX XML parser when used in javascript from
a local file)
Cheers
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23445&edit=1