diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2019-02-07 11:54:00 +0100 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-08 13:18:51 +0100 |
| commit | 1287ca3ccba728aa762ccbb8043f04d7dbdae3f5 (patch) | |
| tree | 6515290f6830c3398c7e1e3a9ab20352ee999683 | |
| parent | b3cc8017b7364f588365be2b2629c49c142efdb7 (diff) | |
| download | curl-bagder/idnconvert.tar.gz | |
url/idnconvert: remove scan for <= 32 ascii valuesbagder/idnconvert
The check was added back in fa939220df before the URL parser would catch
these problems and therefore these will never trigger now.
| -rw-r--r-- | lib/url.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -1748,15 +1748,6 @@ static CURLcode idnconvert_hostname(struct connectdata *conn, infof(data, "IDN support not present, can't parse Unicode domains\n"); #endif } - { - char *hostp; - for(hostp = host->name; *hostp; hostp++) { - if(*hostp <= 32) { - failf(data, "Host name '%s' contains bad letter", host->name); - return CURLE_URL_MALFORMAT; - } - } - } return CURLE_OK; } |
