Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-14213

Do not follow redirects when interacting with GitLab API

    XMLWordPrintable

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      We should also never follow redirects, as this can pose a security risk. We expect users to always provide the final URL. We expect the validation in the admin UI to fail if it detects a redirect.

      For example, if you provide https://www.gitlab.com/api/v4, the validation currently passes. But, GitLab responds with a 308 Permanent Redirect, because the actual URL is https://gitlab.com/api/v4. The validation should detect this, and fail.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wouter.admiraal Wouter Admiraal
              Reporter:
              pierre.guillot Pierre Guillot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: