[Buildbot] #3464: [UI] html is not escaped in ShellCommand stdio

Buildbot trac trac at buildbot.net
Mon Feb 22 21:01:52 UTC 2016


#3464: [UI] html is not escaped in ShellCommand stdio
----------------------+-----------------------
Reporter:  rutsky     |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  master     |   Keywords:
----------------------+-----------------------
 Steps to reproduce:

 1. Setup step that has HTML in it's argument/result, e.g.
 `steps.ShellCommand(command="echo '<i><b>te</b>st</i>'")`

 2. Start that step.

 3. Navigate to step stdio (in my case
 `http://localhost:8020/#/builders/2/builds/9/steps/1/logs/stdio`)

 Expected behavior: all content is displayed as they are, raw.

 Observed behavior: HTML is not escaped not in technical data, not in
 result.

--
Ticket URL: <http://trac.buildbot.net/ticket/3464>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list