【发布时间】:2015-04-23 04:53:21
【问题描述】:
我的jsp上有CKeditor,每当我上传东西时,都会弹出以下错误:
Refused to display 'http://localhost:8080/xxx/xxx/upload-image?CKEditor=text&CKEditorFuncNum=1&langCode=ru' in a frame because it set 'X-Frame-Options' to 'DENY'.
我已经尝试删除 Spring Security,一切都像一个魅力。如何在 spring security xml 文件中禁用它? <http>标签之间应该写什么
【问题讨论】:
-
以下答案均未解决是否可以在控制器方法级别应用 SAMEORIGIN 或 ALLOW - 有人知道吗?
标签: java spring spring-security spring-boot x-frame-options