Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51660

Setup wizard suggests root URL not ending in slash

      The implementation of JENKINS-31661 suggests http://localhost:8080/jenkins as the root URL if you run with --prefix=/jenkins. It must be http://localhost:8080/jenkins/ in this case, or http://localhost:8080/ if the prefix is undefined (so, blank).

          [JENKINS-51660] Setup wizard suggests root URL not ending in slash

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue blocks JENKINS-31661 [ JENKINS-31661 ]

          Jesse Glick added a comment -

          I suppose for settings compatibility, we should append a slash to a saved root URL which is missing one, but the validator should require it going forward.

          Jesse Glick added a comment - I suppose for settings compatibility, we should append a slash to a saved root URL which is missing one, but the validator should require it going forward.
          Daniel Beck made changes -
          Labels New: lts-candidate
          Wadeck Follonier made changes -
          Remote Link New: This issue links to "#3474 core (Web Link)" [ 20791 ]
          Wadeck Follonier made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          In the current version, the method that save the URL add the slash if it's missing and in addition, the read method ensure the slash is present.

          I just changed the JavaScript URL guessing method to let the trailing slash.

          Wadeck Follonier added a comment - In the current version, the method that save the URL add the slash if it's missing and in addition, the read method ensure the slash is present. I just changed the JavaScript URL guessing method to let the trailing slash.

          Oleg Nenashev added a comment -

          Fixed in Jenkins 2.127

          Oleg Nenashev added a comment - Fixed in Jenkins 2.127
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 2.121.2-rejected lts-candidate

            wfollonier Wadeck Follonier
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: