Replies: 4 comments 4 replies
-
Hello @lav023,
What exactly do you mean by backward compatibility? The only thing you need to update is the dependencies and maybe some configuration in the properties file, because of the newly added functionalities (which is as easy as it can get, especially because of the default values). Besides, the solution has been heavily refactored and extended, as the version change from
CSRFGuard is integrated through a Servlet Filter, how else would you like it to be integrated? With the current approach, you can configure it for
As in? Also, I hope you meant "it would be nice" instead of "should". p.s. When creating tickets, please use the issue template(s) and provide as many details as you can. |
Beta Was this translation helpful? Give feedback.
-
Hello @forgedhallpass In earlier release CSRF 3.1.0 , if a request only wants the master token , there was a method for it (fetchCsrfToken ) in csrfguard/src/main/java/org/owasp/csrfguard/servlet/JavaScriptServlet.java , which has been removed in new release , So if we can add that method back then we can retain the backward compatibility with older release . |
Beta Was this translation helpful? Give feedback.
-
Hello @forgedhallpass The current working of CSRF GUARD would work fine , where we exploded the war during the deployment phase , but it would failed where we are not exploded war it into files. So instead of reading file from the file system , if we read file file using servlet context , then we can provide for other types of deployments too. |
Beta Was this translation helpful? Give feedback.
-
Hello @forgedhallpass In our project we are only using master token and we have disabled the page token. And for the testing we are using rest call to get the master token , which we append in the subsequent call to perform the test. But now since in the current CSRF GUARD there is no support to get FETCH-CSRF-TOKEN directly due to which test cases are failing . So is there any way to get the FETCH-CSRF-TOKEN , which I can use in my project to resolve this problem . |
Beta Was this translation helpful? Give feedback.
-
As of now there is no backward compatibility with CSRF 3.1.0 and currently CSRF supports only war deployment.
There should be support for other deployment too.
Beta Was this translation helpful? Give feedback.
All reactions