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

encodeURIComponent breaks paths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • htmlpublisher-plugin
    • None
    • Plugin version: 1.26
      Operating system: Windows 10

      The following change from 1.25 to 1.26 breaks my reports.

      I've prepared an example in htmlpublisher.zip.

      1. Extract the zip file
      2. Open the htmlpublisher-wrapper.html with chrome
      3. You will see something like this:
      4. Change in htmlpublisher-wrapper.html the line "iframe.src = encodeURIComponent(tab.getAttribute("value"));" to "
        iframe.src = tab.getAttribute("value");"
      5. The page works then as expected 

            r2b2_nz Richard Bywater
            b8erni burn hard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: