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

Sanitise description string as it may contains troublesome chars

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • swarm-plugin
    • None

    Description

      jenkins swarm client can setup node description which is reported by Jenkins as unsafe.
      This is done with option -description <string> which passes this as node name seen in Jenkins node list.

      One example is jenkins-swarm.jar -description "swarm_ip:127.0.0.1" --the : colon char will cause Jenkins to rise error anytime when swarm node configuration is being saved (this leads to no save action). There may be other outcomes with non valid node descriptions.

      Attachments

        Issue Links

          Activity

            omka Paul Walter created issue -
            markhu Mark Hudson made changes -
            Field Original Value New Value
            Description jenkins swarm client can setup node description which is reported by Jenkins as unsafe.
            This is done with option -description <string> which passes this as node name seen in Jenkins node list.

            One example is jenkins-swarm.jar -description "swarm_ip:127.0.0.1" , char : will cause Jenkins to rise error anytime when swarm node configuration is being saved (this leads to no save action). There may be other outcomes with non valid node descriptions.
            jenkins swarm client can setup node description which is reported by Jenkins as unsafe.
            This is done with option -description <string> which passes this as node name seen in Jenkins node list.

            One example is jenkins-swarm.jar -description "swarm_ip:127.0.0.1" --the {{:}} colon char will cause Jenkins to rise error anytime when swarm node configuration is being saved (this leads to no save action). There may be other outcomes with non valid node descriptions.
            markhu Mark Hudson made changes -
            Link This issue relates to JENKINS-40663 [ JENKINS-40663 ]
            markhu Mark Hudson made changes -
            Link This issue relates to JENKINS-28022 [ JENKINS-28022 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            basil Basil Crow made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            basil Basil Crow made changes -
            Resolution Cannot Reproduce [ 5 ]
            Status Open [ 1 ] Closed [ 6 ]

            People

              Unassigned Unassigned
              omka Paul Walter
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: