libgit2/libgit2 — pull request #1870 by ben (2013-09-24 19:26:06+00:00)
Title: Cross protocol redirects

This patch allows HTTP redirects to change the protocol from HTTP to HTTPS, so long as the hostname stays the same. Previously, only redirects that started with `/` were allowed.