streams file uri under windows
| From: | Rob Richards | Date: | Tue, 26 Oct 2004 17:38:04 +0000 |
| Subject: | streams file uri under windows | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-13530@lists.php.net to get a copy of this message | ||
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