如何在Spring Security中禁用“X-Frame-Options”响应标头?
2022-08-31 09:38:30
我的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,一切都像一个魅力。如何在春季安全xml文件中禁用此功能?我应该在标签之间写些什么<http>