We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a6c705 commit 94f3753Copy full SHA for 94f3753
1 file changed
src/main/java/edu/harvard/iq/dataverse/api/auth/AuthFilter.java
@@ -86,6 +86,9 @@ private boolean isSessionCookieRequest(ContainerRequestContext containerRequestC
86
* plus the authenticated session cookie, and do not require an existing CSRF header.
87
*/
88
private boolean isCsrfTokenBootstrapEndpoint(ContainerRequestContext containerRequestContext) {
89
+ if (!"GET".equalsIgnoreCase(containerRequestContext.getMethod())) {
90
+ return false;
91
+ }
92
String path = containerRequestContext.getUriInfo().getPath();
93
if (path == null) {
94
return false;
0 commit comments