1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 15:50:48 -04:00
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
..
2016-04-19 08:56:06 +02:00
2016-04-18 23:17:19 +02:00
2016-04-03 22:38:36 +02:00
2016-04-03 22:38:36 +02:00