浏览代码

fix #1894 encode url

Shinsuke Sugaya 6 年之前
父节点
当前提交
19e83d640b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/webapp/WEB-INF/view/admin/dashboard/admin_dashboard.jsp

+ 1 - 1
src/main/webapp/WEB-INF/view/admin/dashboard/admin_dashboard.jsp

@@ -14,7 +14,7 @@
 		</jsp:include>
 
 		<div id="content" class="content-wrapper">
-			<iframe id="contentFrame" src="<%=request.getContextPath()%>${serverPath}/_plugin/kopf/" seamless></iframe>
+			<iframe id="contentFrame" src="<%=request.getContextPath()%>${serverPath}<%= response.encodeURL("/_plugin/kopf/") %>" seamless></iframe>
 		</div>
 
 		<jsp:include page="/WEB-INF/view/common/admin/footer.jsp"></jsp:include>