Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1893

Inspecting the Redirect inside a RedirectStrategy mutates the RedirectLocations array

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.5.4
    • 5.0 Beta1
    • None
    • None

    Description

      We're implementing a custom RedirectStrategy based on DefaultRedirectStrategy. We found that calling getLocationURI mutates the RedirectLocations object.

      This seems unexpected that a get method mutates an object.

      Attachments

        Activity

          People

            olegk Oleg Kalnichevski
            rymndhng Raymond Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: