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

Job with emoji in the name not treated correctly

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.50

      Don't laugh.

      Due to the painfully short MAX_PATH on Windows, we have a bunch of jobs with single-character job names, and user-friendly display names. Since that limits the number of jobs we can create for Windows, I tried creating a job with a valid Unicode character as the job name.

      I got a 404 from this, when it forwarded to the job config - however, the job WAS created. Similarly the job shows in the view, but clicking it throws a 404 - but manually editing the URL works.

      It seems Unicode characters are stripped from whichever method creates a /job/JOBNAME/ url? e.g. links which should read http://localhost:8080/job/%F0%9F%90%A7/ instead read http://localhost:8080/job//

          [JENKINS-42766] Job with emoji in the name not treated correctly

          Jo Shields added a comment -

          I was going to add text illustrating how the Chrome address bar shows the character as expected, not the %foo escape sequence. But that made Jira throw an exception.

          Jo Shields added a comment - I was going to add text illustrating how the Chrome address bar shows the character as expected, not the %foo escape sequence. But that made Jira throw an exception.

          Jo Shields added a comment -

          This seems to be a mishandling of wide characters, not non-ascii in general. U+0402 CYRILLIC CAPITAL LETTER DJE no problem, U+10398 UGARITIC LETTER THANNA 404.

           

          And, again, JIRA throws exceptions on trying to include said characters directly in my bug.

          Jo Shields added a comment - This seems to be a mishandling of wide characters, not non-ascii in general. U+0402 CYRILLIC CAPITAL LETTER DJE no problem, U+10398 UGARITIC LETTER THANNA 404.   And, again, JIRA throws exceptions on trying to include said characters directly in my bug.

          Oleg Nenashev added a comment -

          Yes, I also noticed the issue in the Bugtracker when I tried to copy-paste a comment from GitHub several days ago. Feel free to create an INFERA ticket for that

          Oleg Nenashev added a comment - Yes, I also noticed the issue in the Bugtracker when I tried to copy-paste a comment from GitHub several days ago. Feel free to create an INFERA ticket for that

          I think this is a duplicate of JENKINS-23349, and the JIRA brokenness issue is likely INFRA-1093.

          Christopher Orr added a comment - I think this is a duplicate of  JENKINS-23349 , and the JIRA brokenness issue is likely INFRA-1093.

            Unassigned Unassigned
            directhex Jo Shields
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: