HDIV - Multipart not configured - Struts 1.3

為{幸葍}努か 提交于 2019-12-12 01:53:19

问题


I am using HDIV to protect my web application from the csrf attacks. My application was long developed in Struts-1.3.10. The hyper links and normal pages works well, but except the multipart file upload pages. I get multipartconfig not present exception when I submit a page having the multipart file upload. I tried many way to configure it but nothing worked. There seems to be no good documents in their website. Their example too is full of bugs and their multipart example throws the same exception! How to configure a multipart page with HDIV?

Is owasp-csrfguard easier than using HDIV? share your experiences.


回答1:


There is an issue in HDIV (since 2.1.4 version, previous are ok) related to file uploading in Struts 1 application. Track it in github: https://github.com/hdiv/hdiv/issues/59

We are working on it and any further comments in issue page are welcome.


Issue fixed in HDIV 2.1.8-SNAPSHOT commit



来源:https://stackoverflow.com/questions/25673112/hdiv-multipart-not-configured-struts-1-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!