Closed Bug 543254 Opened 15 years ago Closed 15 years ago

Outdated/long opened pages with forms tell about error on submission

Categories

(addons.mozilla.org Graveyard :: Collections, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: aryx, Unassigned)

Details

(Whiteboard: [z][call it fixed when zamboni takes over])

I see this with add-on detail pages and review detail pages: If the page has been open for a long time (more than 2 hours?), the submission complains about errors in this form. The back button goes back to a page which redirects again to this page.
It's the CSRF protection. The "shared secret" between client and server expires after a while. So this is expected (albeit in your case undesired) behavior. jbalogh: Do you know how Django's CSRF tokens work? Will this still be a problem in Zamboni?
From http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#how-it-works: A CSRF cookie that is set to a random value (a session independent nonce, as it is called)... From that I gather that there won't be any current/previous epoch shenanigans.
OS: Windows XP → All
Hardware: x86 → All
Whiteboard: [z][call it fixed when zamboni takes over]
Target Milestone: --- → Future
Version: unspecified → 4.x
Eh, we're not really gaining anything by keeping this bug open.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.