Modify

Opened 5 years ago

Closed 5 years ago

#9680 closed defect (invalid)

Form Submission returns 'Missing or invalid form token. Do you have cookies enabled?'

Reported by: Steffen Hoffmann Owned by: Steffen Hoffmann
Priority: low Component: TracFormsPlugin
Severity: normal Keywords: form submit
Cc: Trac Release: 0.11

Description

... or the localized equivalent with Trac 0.12, if translations are installed and user prefers non-English language.

It's beyond my imagination, why this worked before, but it failed out of a sudden here for all installed Trac versions ranging from 0.11 to 0.13dev-r10883. Only thing I notice is duplicated quoting of the __FORM_TOKEN value. Seems like this triggers CSRF attack protection in trac.web.main.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Steffen Hoffmann

Priority: normallow

Might be just noise in my development setup consisting of multiple environments, a mixture of 0.11, 0.12, and 0.13dev even with Python2.5 and 2.6 to cover a wide variety of relevant application scenarios for Trac plugins.

Watching and holding back any patch for the moment.

comment:2 Changed 5 years ago by Steffen Hoffmann

Resolution: invalid
Status: newclosed

This has not surfaced again; must have been some wired issue with my local test environment using virtualenv.

Modify Ticket

Action
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.