projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
7938ddb
)
path should be forgotten
author
Michael Wallner
<mike@php.net>
Thu, 30 Oct 2014 16:22:43 +0000
(17:22 +0100)
committer
Michael Wallner
<mike@php.net>
Thu, 6 Nov 2014 08:12:56 +0000
(09:12 +0100)
php_http_url.c
patch
|
blob
|
history
diff --git
a/php_http_url.c
b/php_http_url.c
index
e26a45d
..
23dec9f
100644
(file)
--- a/
php_http_url.c
+++ b/
php_http_url.c
@@
-673,6
+673,8
@@
static const char *parse_path(php_http_url_t *url)
/* did we have any path component ? */
if (tmp != url->ptr) {
url->buffer[url->offset++] = 0;
/* did we have any path component ? */
if (tmp != url->ptr) {
url->buffer[url->offset++] = 0;
+ } else {
+ url->path = NULL;
}
return url->ptr;
}
return url->ptr;