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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Environment:
      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

      Ā 

            Assignee:
            KaiHsiang Chang
            Reporter:
            Gary Yao
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: