- 🇺🇸United States bkosborne New Jersey, USA
I understand this patch is unlikely to be committed in its current state given the recent comments, but here's a version of it that applies against the latest beta for those that are using it already and it works for their use case.
- 🇮🇹Italy Giuseppe87
I'm facing a issue with a view and flag:
I've a view on nodes, with the ajax flag field displayed.
For most of them, the ajax flag\unflagging works.
However, for some of them, the link fails with an access denied.
I can't determine why only a minor part of them has this problem, but from the log and debug is definitely because the CSRF token generated for those links isn't correct.Either disabling the cache for the view, or using the patch at "nojs"/"ajax" route parameter in use-ajax link breaks CSRF protection 🐛 "nojs"/"ajax" route parameter in use-ajax link breaks CSRF protection Needs work solve the problem.
Hi, would like to echo @Giuseppe87.
I have a similar setup with an ajax flag/unflag, and after the last set of updates to the flag/flag Bookmark.
I have been facing 'csrf_token' URL query argument is invalid'.
Both solutions mentioned in #21 work (in case someone else is having this issue).- Assigned to RohitRawat676
- Status changed to Active
about 1 year ago 3:22am 15 November 2023 - Issue was unassigned.
- Status changed to Needs review
about 1 year ago 3:22am 15 November 2023 - last update
about 1 year ago 46 pass - 🇵🇱Poland besek
I had the same issue and from solutions in #21 only disabling cache had positive effect. Patch from "nojs"/"ajax" route parameter in use-ajax link breaks CSRF protection 🐛 "nojs"/"ajax" route parameter in use-ajax link breaks CSRF protection Needs work unfortunately didn't help