Javascript proxy failes when sending html/xml formated messages

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: core
    • Environment:
      Jenkins 1.480.3 tested on Ubuntu 12.04 and Windows 7 both using debuging in maven and tomcat

      In Jenkins 1.480.3 we can no longer send HTML or XML formated texts using JavaScript Proxy. It works in 1.466 and for HTML and partly in 1.480.1.

      function broken()
      {
      var promote = <st:bind value="${it}"/>
      document.getElementById('result').innerHTML="";
      promote.doStuff(function(t)

      { document.getElementById('result').innerHTML= t.responseObject(); }

      )
      }
      In this case the function(t) code will not be executed if the method returns code with HTML or XML tags.

      I made a small example plugin https://github.com/hanabishi/js-breaker

            Assignee:
            Unassigned
            Reporter:
            Marcus Jacobsson
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: