Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always follow redirects in network jobs #4905

Merged
merged 1 commit into from
Aug 9, 2016
Merged

Always follow redirects in network jobs #4905

merged 1 commit into from
Aug 9, 2016

Commits on Aug 9, 2016

  1. Always follow redirects in network jobs

    This is a move away from the original policy where jobs
    would only follow redirects in special cases.
    
    Two restrictions are in place:
    
    1. We do not allow protocol downgrades (https -> http)
    2. We stop redirects after we find them looping (e.g. old = new url, or
    indirectly when looping 10 times).
    
    This is closer to RFC conforming behavior, although currently
    we will treat 301 replies like they were 302. This is for a separate
    commit.
    
    Error handling (and display) also needs improvement.
    
    Addresses #2791
    Daniel Molkentin committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    bad8d1b View commit details
    Browse the repository at this point in the history