kaoritokashiki 5 سال پیش
والد
کامیت
7e117022f8
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/server/views/layout-growi/shared_page.html
  2. 1 1
      src/server/views/layout-kibela/shared_page.html

+ 1 - 1
src/server/views/layout-growi/shared_page.html

@@ -2,7 +2,7 @@
 
 
 {% block content_header %}
-  <h1 class="p-3">{{ page.path }}</h1>
+  <h1 class="p-3">{{ page.path | preventXss }}</h1>
 {% endblock %}
 
 

+ 1 - 1
src/server/views/layout-kibela/shared_page.html

@@ -2,7 +2,7 @@
 
 
 {% block content_header %}
-  <h1 class="p-3">{{ page.path }}</h1>
+  <h1 class="p-3">{{ page.path | preventXss }}</h1>
 {% endblock %}