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

      If job name contains a single quote, Jenkins allows to create it.
      However, a user cannot delete such job. Clicking "Delete Project" throws
      "SyntaxError: missing ) after argument list"

          [JENKINS-36745] Block new item creation with single quote in name

          Daniel Beck added a comment -

          Looks similar to JENKINS-31871 – the bug in the JS should be fixed rather than prohibit chars.

          Daniel Beck added a comment - Looks similar to JENKINS-31871 – the bug in the JS should be fixed rather than prohibit chars.

          Kseniia Nenasheva added a comment - - edited

          Cannot reproduced on Jenkins 2.63-SNAPSHOT

          Kseniia Nenasheva added a comment - - edited Cannot reproduced on Jenkins 2.63-SNAPSHOT

          Daniel Beck added a comment -

          ks_nenasheva Would be interesting to know whether it was fixed between 2.25 and 2.26, if so, PR 1943 did it.

          Daniel Beck added a comment - ks_nenasheva Would be interesting to know whether it was fixed between 2.25 and 2.26, if so, PR 1943 did it.

          danielbeck my bad. The issue still happens.

          Reproduction steps:

          1. Create new job with single quote in name (job'x)
          2. Go to /jenkins/job/job'x/
          3. Click "Delete Project"

          A.R.: Job hasn't been deleted. Error message doesn't appear.

          This ticket hasn't been reproduced, if you have not opened job's page (step #2) and used drop-down menu in View (please see attached file).

           

          Kseniia Nenasheva added a comment - danielbeck my bad. The issue still happens. Reproduction steps: Create new job with single quote in name (job'x) Go to /jenkins/job/job'x/ Click "Delete Project" A.R.: Job hasn't been deleted. Error message doesn't appear. This ticket hasn't been reproduced, if you have not opened job's page (step #2) and used drop-down menu in View (please see attached file).  

            samat Samat Davletshin
            samat Samat Davletshin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: