Case insensitive URLs not work as expected.

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

XMLWordPrintable

      Hi there.
      The bug has been captured, but I don't know is expected or not.
      When I try to get a job nested in a folder via a direct lower-cased URL, it could return the job itself (HTTP code: 200), and sometimes(more often) Jenkins returns an error (HTTP code: 404). Fixing URL to the proper case fixes the issue.

      The original name convention:

      • Folders are always starting with a capital letter,
      • Jobs could be in camel-case.

      Some examples to get direct config.xml file for "job-type" Folder (XML files are cut, full versions are attached to the ticket):
      https://jenkins/job/Folder1/config.xml

      <?xml version='1.1' encoding='UTF-8'?> <com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder@6.714.v79e858ef76a_2">
      ...
      </com.cloudbees.hudson.plugins.folder.Folder>

       

      https://jenkins/job/folder1/config.xml

      <?xml version='1.1' encoding='UTF-8'?> <com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder@6.714.v79e858ef76a_2">
      ...
      </com.cloudbees.hudson.plugins.folder.Folder>

       

      https://jenkins/job/folder1/job/Folder2/config.xml

      <?xml version='1.1' encoding='UTF-8'?> <com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder@6.714.v79e858ef76a_2">
      ...
      </com.cloudbees.hudson.plugins.folder.Folder>

      https://jenkins/job/folder1/job/folder2/config.xml
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
      <title>Error 404 Not Found</title>
      </head>
      ...
      </html>

      System information is attached.

      Probably similar issue is https://issues.jenkins.io/browse/JENKINS-67695

        1. 404.txt
          0.5 kB
        2. ok.txt
          2 kB
        3. systeminfo.txt
          8 kB

            Assignee:
            Unassigned
            Reporter:
            john Roe
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: