#23445 [NEW]: warning on parse_url('file://C:/path/doc.txt')

From: Date: Thu, 01 May 2003 22:40:46 +0000
Subject: #23445 [NEW]: warning on parse_url('file://C:/path/doc.txt')
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38900@lists.php.net to get a copy of this message
From: freesoftware at xs4all dot nl Operating system: win2k PHP version: 4.3.1 PHP Bug Type: *URL Functions Bug description: warning on parse_url('file://C:/path/doc.txt') 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 bug report at http://bugs.php.net/?id=23445&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23445&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23445&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23445&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23445&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23445&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23445&r=support Expected behavior: http://bugs.php.net/fix.php?id=23445&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23445&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23445&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23445&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23445&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23445&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23445&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23445&r=gnused

« previous php.bugs (#38900) next »