Username with backslash causes 404 at /user/username

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: core
    • Environment:
      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. jenkins-bug-1.png
          jenkins-bug-1.png
          8 kB
        2. jenkins-bug-2.png
          jenkins-bug-2.png
          24 kB
        3. screenshot-1.png
          screenshot-1.png
          438 kB
        4. screenshot-2.png
          screenshot-2.png
          170 kB

            Assignee:
            Unassigned
            Reporter:
            James Vickery
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: