Merge pull request #1683 from msolters/patch-1
Fix IPv6 HTTP URL parsing
This commit is contained in:
commit
9dc1e57c85
|
@ -324,6 +324,7 @@ parse_url(const char *url, char *host, uint16_t *portptr, char *path)
|
||||||
if(host != NULL) {
|
if(host != NULL) {
|
||||||
host[i] = 0;
|
host[i] = 0;
|
||||||
}
|
}
|
||||||
|
urlptr++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(host != NULL) {
|
if(host != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue