瀏覽代碼

HUE-9383 potential Script execution in Share Document UI (asnaik) (#1190)

Co-authored-by: Akhil Naik <asnaik@cloudere.com>
Asnaik HWX 5 年之前
父節點
當前提交
2ffd30378f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/templates/common_share.mako

+ 1 - 1
desktop/core/src/desktop/templates/common_share.mako

@@ -21,7 +21,7 @@ from django.utils.translation import ugettext as _
   <a>
     <div>
       <i data-bind="css: icon"></i>
-      <span data-bind="html: label"></span>
+      <span data-bind="text: label"></span>
     </div>
   </a>
 </script>