CSRF token expire time too short #63311

Closed
opened 2019-04-05 15:09:12 +02:00 by Pablo Vazquez · 4 comments

Forms fail to save (CSRF token expired notification) if the edit page was open for a while, which can happen when large files are uploaded over slow internet.

Forms fail to save (**CSRF token expired** notification) if the edit page was open for a while, which can happen when large files are uploaded over slow internet.
Francesco Siddi was assigned by Pablo Vazquez 2019-04-05 15:09:12 +02:00
Author

Added subscribers: @pablovazquez, @dr.sybren

Added subscribers: @pablovazquez, @dr.sybren

I started looking into this. The issue can be fixed by:

  • extending the WTF_CSRF_TIME_LIMIT
  • introducing an expired CSRF token renewal mechanism

To be further discussed with @sybren.

I started looking into this. The issue can be fixed by: * extending the `WTF_CSRF_TIME_LIMIT ` * introducing an expired CSRF token renewal mechanism To be further discussed with @sybren.

The issue has been addressed by raising the token time limit several months ago. Feel free to reopen if the problem persists.

The issue has been addressed by raising the token time limit several months ago. Feel free to reopen if the problem persists.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: archive/pillar#63311
No description provided.