]> granicus.if.org Git - curl/commit
Curl_follow: accept non-supported schemes for "fake" redirects
authorDaniel Stenberg <daniel@haxx.se>
Thu, 1 Nov 2018 22:45:57 +0000 (23:45 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 2 Nov 2018 08:50:44 +0000 (09:50 +0100)
commit2c5ec339ea67f43ac370ae77636a0f915cc5fbeb
tree234d6426e4645e88e867fa99eb3a67e607619dcb
parenta4653a7fa21e4c2b3881bab4b991e400b81651db
Curl_follow: accept non-supported schemes for "fake" redirects

When not actually following the redirect and the target URL is only
stored for later retrieval, curl always accepted "non-supported"
schemes. This was a regression from 46e164069d1a5230.

Reported-by: Brad King
Fixes #3210
Closes #3215
lib/transfer.c
tests/data/Makefile.inc
tests/data/test1159 [new file with mode: 0644]