summaryrefslogtreecommitdiff
path: root/main/streams.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/streams.c')
-rwxr-xr-xmain/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams.c b/main/streams.c
index a02e4c7f7e..0a0f3a32e2 100755
--- a/main/streams.c
+++ b/main/streams.c
@@ -1029,7 +1029,7 @@ static php_stream *php_stream_open_url(char *path, char *mode, int options, char
n++;
}
- if ((*p == ':') && (n > 1)) {
+ if ((*p == ':') && (n > 1) && !strncmp("://", p, 3)) {
protocol = path;
}