From d1be87446ba184e0ce4a695ffcb87e3f41cca95b Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 27 Apr 2004 19:28:21 +0000 Subject: [PATCH] MFH Don't strip off those []s, it'll only create problems in wrappers and elsewhere. --- ext/standard/url.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ext/standard/url.c b/ext/standard/url.c index 06d5b2a678..d19d686d99 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -225,11 +225,6 @@ PHPAPI php_url *php_url_parse(char *str) p = e; } - if (*s == '[' && *(p-1) == ']') { - s++; - p--; - } - /* check if we have a valid host, if we don't reject the string as url */ if ((p-s) < 1) { STR_FREE(ret->scheme); -- 2.50.1