diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-11 08:09:04 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-11 17:14:45 +0100 |
commit | 346340808c89db33803ef7461dee191ff7c3d07f (patch) | |
tree | 569e90dc90b26115967ba813a75fefaf86df5583 /lib/ssh.h | |
parent | 8c15e0de6f70e48eafe9e5b986f032c17dd88e07 (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/ssh.h')
0 files changed, 0 insertions, 0 deletions