-
Bug
-
Resolution: Unresolved
-
Blocker
-
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.
- Extract the zip file
- Open the htmlpublisher-wrapper.html with chrome
- You will see something like this:
- Change in htmlpublisher-wrapper.html the line "iframe.src = encodeURIComponent(tab.getAttribute("value"));" to "
iframe.src = tab.getAttribute("value");" - The page works then as expected
- relates to
-
JENKINS-65028 404 in iframe when html file name contains unsafe character
-
- Resolved
-
[JENKINS-66897] encodeURIComponent breaks paths
Description |
Original:
The following change breaks from 1.25 to 1.26 breaks my reports.
!image-2021-10-14-13-40-31-713.png! I've prepared an example in htmlpublisher.zip. # Extract the zip file # Open the htmlpublisher-wrapper.html with chrome # You will see something like this: !image-2021-10-14-13-53-38-495.png! # Change in htmlpublisher-wrapper.html the line "iframe.src = encodeURIComponent(tab.getAttribute("value"));" to " iframe.src = tab.getAttribute("value");" !image-2021-10-14-13-51-03-532.png! # The page works then as expected !image-2021-10-14-13-53-03-565.png! |
New:
The following change breaks from 1.25 to 1.26 breaks my reports.
!image-2021-10-14-13-40-31-713.png! I've prepared an example in htmlpublisher.zip. # Extract the zip file # Open the htmlpublisher-wrapper.html with chrome # You will see something like this: # !image-2021-10-14-13-53-38-495.png! # Change in htmlpublisher-wrapper.html the line "iframe.src = encodeURIComponent(tab.getAttribute("value"));" to " iframe.src = tab.getAttribute("value");" # !image-2021-10-14-13-51-03-532.png! # The page works then as expected # !image-2021-10-14-13-53-03-565.png! |
Description |
Original:
The following change breaks from 1.25 to 1.26 breaks my reports.
!image-2021-10-14-13-40-31-713.png! I've prepared an example in htmlpublisher.zip. # Extract the zip file # Open the htmlpublisher-wrapper.html with chrome # You will see something like this: # !image-2021-10-14-13-53-38-495.png! # Change in htmlpublisher-wrapper.html the line "iframe.src = encodeURIComponent(tab.getAttribute("value"));" to " iframe.src = tab.getAttribute("value");" # !image-2021-10-14-13-51-03-532.png! # The page works then as expected # !image-2021-10-14-13-53-03-565.png! |
New:
The following change from 1.25 to 1.26 breaks my reports.
!image-2021-10-14-13-40-31-713.png! I've prepared an example in htmlpublisher.zip. # Extract the zip file # Open the htmlpublisher-wrapper.html with chrome # You will see something like this: # !image-2021-10-14-13-53-38-495.png! # Change in htmlpublisher-wrapper.html the line "iframe.src = encodeURIComponent(tab.getAttribute("value"));" to " iframe.src = tab.getAttribute("value");" # !image-2021-10-14-13-51-03-532.png! # The page works then as expected # !image-2021-10-14-13-53-03-565.png! |
Link |
New:
This issue relates to |
olamy Are you able to take a look? It looks like the change is encoding things which it shouldn't (slashes in this case) which is breaking files in directories.