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

Parameterized Remote Trigger Plugin Invalid character found in the request target, Square Brackets need encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins ver. 2.176.3
      Plugin Parameterized-Remote-Trigger:3.0.9

      A good explanation found in https://programmer.help/blogs/characters-are-defined-in-rfc-7230-and-rfc-3986.html

       

      Our remote Jenkins runs inside Tomcat, after Tomcat upgraded, Jobs can not be triggerred remotely anymore.

       

      We used a hacky workaround which temporarily solved this issue by simply replace [ with %5B and ] with %5D in remoteJobUrl in 

      src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java

       

            cashlalala KaiHsiang Chang
            garyjyao Gary Yao
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: