Re: streams file uri under windows

From: Date: Tue, 26 Oct 2004 17:37:55 +0000
Subject: Re: streams file uri under windows
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-13531@lists.php.net to get a copy of this message
If you're sure it doesn't break something else, go ahead :) --Wez On Tue, 26 Oct 2004 13:38:04 -0400, Rob Richards <rrichards@ctindustries.net> wrote: > It possible to add this patch or something along these lines so that > file:/// syntax can be used under windows again? > A change on 8/31 was made to allow for file:// but now prevents file:/// > (which is valid) > > Index: streams.c > =================================================================== > RCS file: /repository/php-src/main/streams/streams.c,v > retrieving revision 1.68 > diff -r1.68 streams.c > 1496c1496 > < if (protocol && path[n+1] == '/' && path[n+2] == '/' > && path[n+4] != > ':') { > --- > > if (protocol && path[n+1] == '/' && path[n+2] == '/' > > && path[n+4] != ':' > && path[n+3] != '/') { > > Rob > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#13531) next »