소스 검색

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>
   <a>
     <div>
     <div>
       <i data-bind="css: icon"></i>
       <i data-bind="css: icon"></i>
-      <span data-bind="html: label"></span>
+      <span data-bind="text: label"></span>
     </div>
     </div>
   </a>
   </a>
 </script>
 </script>