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 46e164069d. Reported-by: Brad King Fixes #3210 Closes #3215
46e164069d