Skip to content
  • Junio C Hamano's avatar
    Merge branch 'jk/http-walker-limit-redirect-2.9' · 8a2882f2
    Junio C Hamano authored
    Transport with dumb http can be fooled into following foreign URLs
    that the end user does not intend to, especially with the server
    side redirects and http-alternates mechanism, which can lead to
    security issues.  Tighten the redirection and make it more obvious
    to the end user when it happens.
    
    * jk/http-walker-limit-redirect-2.9:
      http: treat http-alternates like redirects
      http: make redirects more obvious
      remote-curl: rename shadowed options variable
      http: always update the base URL for redirects
      http: simplify update_url_from_redirect
    8a2882f2