aboutsummaryrefslogtreecommitdiff
path: root/lib/fileinfo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-11-11 08:09:04 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-11-11 17:14:45 +0100
commit346340808c89db33803ef7461dee191ff7c3d07f (patch)
tree569e90dc90b26115967ba813a75fefaf86df5583 /lib/fileinfo.c
parent8c15e0de6f70e48eafe9e5b986f032c17dd88e07 (diff)
URL-parser: for file://[host]/ URLs, the [host] must be localhost
Previously, the [host] part was just ignored which made libcurl accept strange URLs misleading users. like "file://etc/passwd" which might've looked like it refers to "/etc/passwd" but is just "/passwd" since the "etc" is an ignored host name. Reported-by: Mike Crowe Assisted-by: Kamil Dudka
Diffstat (limited to 'lib/fileinfo.c')
0 files changed, 0 insertions, 0 deletions