Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix curl --proto and --proto-redir with SSL protocols (https, etc) #97
Thanks for pointing this out and providing a patch.
I don't really like how it is done though. The list of explicit protocols in the code makes it very error prone, and I think the fact you missed a protocol proves this very good. Although I'll admit I haven't yet come up with a really nice approach I've come to piece with.
Secondly, your change doesn't include the redirect protocol check just a few more lines below.