Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42474

Make sure URLConnection will follow redirects

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      When using the ProxyConfiguration.open() method to access external resources, it is possible to face a 302. Even if URLConnection.followRedirects is by default set to true, it is possible to have some plugins changing this value (see https://github.com/jenkinsci/kubernetes-pipeline-plugin/pull/31).

      In such cases, it would be great to make sure the 302 are followed in the ProxyConfiguration or at least log that it won't be due to the setting.

          [JENKINS-42474] Make sure URLConnection will follow redirects

          There are no comments yet on this issue.

            Unassigned Unassigned
            alecharp Adrien Lecharpentier
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: