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

Double slashes in URL should not serve the page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.7.5, 7.4
    • Fix Version/s: 7.5
    • Component/s: None
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Currently we serve pages when there are two slashes before the basename, so URLs like this will work : https://sonarcloud.io//explore/projects

      The problem with this kind of URL is that when the user tries to login the return_to parameter will contains those two slashes and the user will be redirected to a broken page after login.

      Solution: we should not serve pages with double slashes, it's not a valid URL.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregoire.aubert Gregoire Aubert
              Reporter:
              gregoire.aubert Gregoire Aubert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: