diff options
Diffstat (limited to 'ext/standard/url.c')
| -rw-r--r-- | ext/standard/url.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/standard/url.c b/ext/standard/url.c index 0f4b836e62..e4f71b1460 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -316,10 +316,6 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length) pp = strchr(s, '#'); if (pp && pp < p) { - if (pp - s) { - ret->path = estrndup(s, (pp-s)); - php_replace_controlchars_ex(ret->path, (pp - s)); - } p = pp; goto label_parse; } |
