Needs work
Project:
DropzoneJS
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2021 at 05:57 UTC
Updated:
30 May 2023 at 14:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stijnstroobantsI know this is probably not the best solution, but I removed the csrf access check in the routing.yml file.
csrf-tokens will not work for anonymous users.
Comment #3
nwom commentedSetting to Needs Review, since a patch is attached. I have not tested it, but ran into the issue while looking for something else.
Comment #5
kazah commentedAre there any progress?
Comment #6
weseze commentedSeems like a security issue to remove the CSRF token?
Comment #7
joseph.olstadI have a use case for this, we need to accept anonymous uploads and the way we're doing this somehow core doesn't like it. There's either the above patch or the core patch.
see #3316184: Sessionless users have no CSRF token - use 2.5.0 instead of 2.7.0
Comment #8
joseph.olstadThe above patch is working for anonymous uploads (a valid use case we are using).
I've triggered a few new test runs in comment# 2.
Comment #9
aherczeg commentedPatch in #2 solves the issue for us.