curl/src
Jay Satiro b9728bca54 tool_cb_hdr: Fix --remote-header-name with schemeless URL
- Move the existing scheme check from tool_operate.

In the case of --remote-header-name we want to parse Content-disposition
for a filename, but only if the scheme is http or https. A recent
adjustment 0dc4d8e was made to account for schemeless URLs however it's
not 100% accurate. To remedy that I've moved the scheme check to the
header callback, since at that point the library has already determined
the scheme.

Bug: https://github.com/curl/curl/issues/760
Reported-by: Kai Noda
2016-05-01 16:07:04 -04:00
..
macos code/docs: Use Unix rather than UNIX to avoid use of the trademark 2014-12-26 21:42:44 +00:00
.gitignore gitignore: ignore more generated VC Makefiles 2015-09-03 23:35:41 +02:00
CMakeLists.txt Makefile.inc: s/curl_SOURCES/CURL_FILES 2015-12-23 12:07:50 +01:00
Makefile.Watcom URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
Makefile.am src/checksrc.whitelist: removed 2016-04-19 08:56:06 +02:00
Makefile.b32 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
Makefile.inc Makefile.inc: s/curl_SOURCES/CURL_FILES 2015-12-23 12:07:50 +01:00
Makefile.m32 makefile.m32: add missing libs for static -winssl-ssh2 builds 2016-03-05 21:50:12 -05:00
Makefile.netware URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
Makefile.vc6 makefile.vc6: use d suffix on debug object 2016-04-17 17:16:21 +02:00
curl.rc URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
makefile.amiga build: Renamed CURLX_ONES file list definition to CURLX_CFILES 2014-05-21 23:11:51 +01:00
makefile.dj URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
mkhelp.pl URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
slist_wc.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
slist_wc.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_binmode.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_binmode.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_bname.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_bname.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_dbg.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_dbg.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_hdr.c tool_cb_hdr: Fix --remote-header-name with schemeless URL 2016-05-01 16:07:04 -04:00
tool_cb_hdr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_prg.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_prg.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_rea.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_rea.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_see.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_see.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_wrt.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cb_wrt.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_cfgable.c news: CURLOPT_CONNECT_TO and --connect-to 2016-04-17 23:50:59 +02:00
tool_cfgable.h tool: add --tcp-fastopen option 2016-04-18 23:17:19 +02:00
tool_convert.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_convert.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_dirhie.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_dirhie.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_doswin.c tool_doswin: Support for literal path prefix \\?\ 2016-02-09 03:28:58 -05:00
tool_doswin.h tool_doswin: Improve sanitization processing 2016-02-05 01:44:27 -05:00
tool_easysrc.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_easysrc.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_formparse.c code: style updates 2016-04-03 22:38:36 +02:00
tool_formparse.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_getparam.c curl: remove "--socks" as "--socks5" turned 8 2016-04-29 00:31:37 +02:00
tool_getparam.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_getpass.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_getpass.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_help.c curl: show the long option version of -q in the -h list 2016-04-29 00:31:37 +02:00
tool_help.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_helpers.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_helpers.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_homedir.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_homedir.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_hugehelp.c.cvs URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_hugehelp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_libinfo.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_libinfo.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_main.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_main.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_metalink.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_metalink.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_mfiles.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_mfiles.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_msgs.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_msgs.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_operate.c tool_cb_hdr: Fix --remote-header-name with schemeless URL 2016-05-01 16:07:04 -04:00
tool_operate.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_operhlp.c tool_operhlp: Check for backslashes in get_url_file_name 2016-02-08 03:14:04 -05:00
tool_operhlp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_panykey.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_panykey.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_paramhlp.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_paramhlp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_parsecfg.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_parsecfg.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_sdecls.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_setopt.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_setopt.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_setup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_sleep.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_sleep.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_strdup.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_strdup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_urlglob.c curl: glob_range: no need to check unsigned variable for negative 2016-03-14 10:51:25 +01:00
tool_urlglob.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_util.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_util.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_version.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_vms.c code: style updates 2016-04-03 22:38:36 +02:00
tool_vms.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_writeenv.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_writeenv.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_writeout.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_writeout.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_xattr.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tool_xattr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00