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

Username with backslash causes 404 at /user/username

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • Jenkins: 2.78
      OS: Windows Server 2016 Datacenter 1607
      Plugins: None
      Browser: Chrome 60

      If a create a user with a backslash in the name, for example 'thisisau\sername', clicking the name in the top-right of the header takes me to a 404 page, trying to get to https://server:8080/user/thisisau/sername/.

      If I replace the '/' in the URL username with '%5C' (encoded backslash) it successfully loads the user page.

        1. screenshot-2.png
          screenshot-2.png
          170 kB
        2. screenshot-1.png
          screenshot-1.png
          438 kB
        3. jenkins-bug-1.png
          jenkins-bug-1.png
          8 kB
        4. jenkins-bug-2.png
          jenkins-bug-2.png
          24 kB

          [JENKINS-46848] Username with backslash causes 404 at /user/username

          James Vickery created issue -
          Daniel Beck made changes -
          Labels New: windows

          Daniel Beck added a comment -

          On OS X both forward slash and back slash work in user IDs, so this is probably specific to Windows.

          teilo Are you able to reproduce this issue?

          Daniel Beck added a comment - On OS X both forward slash and back slash work in user IDs, so this is probably specific to Windows. teilo Are you able to reproduce this issue?
          James Vickery made changes -
          Environment Original: Jenkins: 1.625.3
          OS: Windows Server 2016 Datacenter 1607
          Plugins: None
          Browser: Chrome 60
          New: Jenkins: 2.78
          OS: Windows Server 2016 Datacenter 1607
          Plugins: None
          Browser: Chrome 60

          James Vickery added a comment -

          Sorry, got the version number wrong - I've just updated it. The Jenkins installer was downloaded earlier today so I assume it's the latest stable version. Thanks

          James Vickery added a comment - Sorry, got the version number wrong - I've just updated it. The Jenkins installer was downloaded earlier today so I assume it's the latest stable version. Thanks

          James Nord added a comment -

          I'm sure this is a dupe of something... or something changed (the original bug and got replaced by this)

          James Nord added a comment - I'm sure this is a dupe of something... or something changed (the original bug and got replaced by this)

          James Vickery added a comment -

          teilo I haven't raised this before, I only made an account to raise this issue. I briefly checked for duplicates but couldn't find anything similar

          James Vickery added a comment - teilo I haven't raised this before, I only made an account to raise this issue. I briefly checked for duplicates but couldn't find anything similar
          James Nord made changes -
          Attachment New: screenshot-1.png [ 40529 ]
          James Nord made changes -
          Attachment New: screenshot-2.png [ 40530 ]

          James Nord added a comment - - edited

          danielbeck reproduced on 2.73.3 (java -jar jenkins.war --httpListenAddress=127.0.0.1)


          James Nord added a comment - - edited danielbeck reproduced on 2.73.3 (java -jar jenkins.war --httpListenAddress=127.0.0.1)

            Unassigned Unassigned
            jamesevickery James Vickery
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: