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

p4 plugin escapes/converts plaintext to HTML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin
    • None
    • jenkins 2.19.1
      p4 plugin 1.4.8

      p4 plugin, when inspecting the 'Changes' link, shows all output as escaped and barely readable plaintext with html mixed in.

      953319 by userredacted@userredacted-monitoring on Oct 25, 2016 2:20:04 PM
      SUMMARY: Don&#039;t reuse variables.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DETAILS: The code was trying to create a new properties dict<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for each topic, but was instead reusing the same one over and<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; over. Make it use a new copy each time. This doesn&#039;t cause a<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; functional change, but makes the code cleaner.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OTS: userredacted (visual OTS)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TESTING: None 
      Submitted Files:
       //somepath/somefile.py #3
      

            Unassigned Unassigned
            mhall4 Matthew Hall
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: