[ARVADOS] updated: bfc0b74c4f4e5b6485393827735ff9a875d4d8ac

git at public.curoverse.com git at public.curoverse.com
Tue Jun 24 17:10:03 EDT 2014


Summary of changes:
 apps/workbench/app/assets/javascripts/log_viewer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  bfc0b74c4f4e5b6485393827735ff9a875d4d8ac (commit)
      from  f573c35a8f829ac4624f4ef9fbe0d0178a734fa3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit bfc0b74c4f4e5b6485393827735ff9a875d4d8ac
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Jun 24 17:11:00 2014 -0400

    Escape HTML entities in Workbench Job log viewer.
    
    No issue #.

diff --git a/apps/workbench/app/assets/javascripts/log_viewer.js b/apps/workbench/app/assets/javascripts/log_viewer.js
index 74bba13..93681cc 100644
--- a/apps/workbench/app/assets/javascripts/log_viewer.js
+++ b/apps/workbench/app/assets/javascripts/log_viewer.js
@@ -89,7 +89,7 @@ function addToLogViewer(logViewer, lines, taskState) {
                 taskid: v11,
                 node: node,
                 slot: slot,
-                message: message,
+                message: message.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'),
                 type: type
             });
             count += 1;

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list