This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/main by this push:
     new 4da6849  DISPATCH-2089: [tools] Scraper must html-escape transfer 
payload
4da6849 is described below

commit 4da68495bf88d33898ab63d0d3095ffc0ca28046
Author: Chuck Rolke <c...@apache.org>
AuthorDate: Tue Apr 27 17:39:44 2021 -0400

    DISPATCH-2089: [tools] Scraper must html-escape transfer payload
---
 tools/scraper/parser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/scraper/parser.py b/tools/scraper/parser.py
index e7ca2bf..2bff233 100755
--- a/tools/scraper/parser.py
+++ b/tools/scraper/parser.py
@@ -762,7 +762,7 @@ class ParsedLogLine(object):
                 self.highlighted("more", res.transfer_more, 
common.color_of("more")),
                 self.highlighted("resume", res.transfer_resume, 
common.color_of("aborted")),
                 self.highlighted("aborted", res.transfer_aborted, 
common.color_of("aborted")),
-                showdat, spl[-SEQUENCE_TRANSFER_SIZE:],
+                showdat, common.html_escape(spl[-SEQUENCE_TRANSFER_SIZE:]),
                 res.transfer_size)
             res.sdorg_str = "%s %s (%s) %s (%s%s%s%s)\\n%s" % (
                 res.name, res.channel_handle, res.delivery_id, 
res.transfer_size,

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to