Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13137

The PR diff API endpoint's 301 redirect location should retain query parameters

    XMLWordPrintable

Details

    Description

      Because right now if you hit

      $ curl -L https://api.bitbucket.org/2.0/repositories/foo/bar/pullrequests/10585/diff?context=1
      

      The context param gets lost in the redirect and so you get too much unified context output.

      Attachments

        Activity

          People

            Unassigned Unassigned
            6995b9ed1710 evzijst
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: