[ 
https://issues.jenkins-ci.org/browse/JENKINS-13121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161740#comment-161740
 ] 

Kieran Shaw commented on JENKINS-13121:
---------------------------------------

Appears to be here:

"function registerValidator(e) {
    e.targetElement = findFollowingTR(e, 
"validation-error-area").firstChild.nextSibling;
    e.targetUrl = function() {
        return eval(this.getAttribute("checkUrl"));
    };"

Where "this.getAttribute("checkUrl")" blows up because checkUrl contains 
something like: 
"'/checkDisplayName?displayName='+encodeURIComponent(this.value)+'&jobName='+encodeURIComponent('Job
 with single'quote')"
                
> Cannot configure job if the job name contains single quote
> ----------------------------------------------------------
>
>                 Key: JENKINS-13121
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13121
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>         Environment: Ubuntu 11.10, Google Chrome 17.0.963.79
>            Reporter: jul
>              Labels: gui, jenkins
>         Attachments: Screenshot at 2012_03_17 14_20_45.png
>
>
> Steps:
> 1. Create a new job with name of "This won't work" (without double quotes)
> 2. Go to the Configure page of the job you have just created
> The page keeps loading and seems to be broken

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to