Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-967

Picard webservice redirect handling incorrect for 307/308 redirects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 1.3.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      As part of its switch to https, MBS is now issuing 307 or 308 redirects for POST requests submitted non-http. A 307 or 308 status code indicates that Picard should resubmit the POST request to the new URL.

      However the current code only checks for the redirect header line to determine whether a redirect is needed or not, and converts the call to a GET regardless of the status code.

      Although there are no known plugins which use this functionality, as good practice Picard should be enhanced to handle 307/308 redirects properly, though this should be considered low priority.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sophist Sophist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package