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

Project name with apostrophe(s) fails on delete due to JS syntax error

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

      When you create a project with apostrophes in the name, delete fails because the JS call to delete the project in the onclick handler does not escape the apostrophes.

      Tested with project name: 英''語

          [JENKINS-21884] Project name with apostrophe(s) fails on delete due to JS syntax error

          Daniel Beck added a comment -

          Confirmed on 1.561. Also, tons of errors loading AJAX input validation on the config screen.

          Daniel Beck added a comment - Confirmed on 1.561. Also, tons of errors loading AJAX input validation on the config screen.

          Oleg Nenashev added a comment -

          It's much easier to prohibit such cases than to completely fix them
          Probably, the default item validation strategy should be changed for new installations

          Oleg Nenashev added a comment - It's much easier to prohibit such cases than to completely fix them Probably, the default item validation strategy should be changed for new installations

            Unassigned Unassigned
            jesse_wiles Jesse Wiles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: