Closed
Bug 572880
Opened 14 years ago
Closed 13 years ago
forums.views.reply() should require POST method
Categories
(support.mozilla.org :: Forum, task, P4)
support.mozilla.org
Forum
Tracking
(Not tracked)
VERIFIED
FIXED
2.9
People
(Reporter: erik, Assigned: tgavankar)
References
Details
Shouldn't forums.views.reply be decorated @require_POST? I don't think we ever throw GETs at it, and similar views like lock_thread() are @require_POST. Note that it isn't hurting anything at present; it falls back to returning a list of posts, with a form error, on GET.
Updated•13 years ago
|
Target Milestone: --- → 2011Q2
Updated•13 years ago
|
Assignee: nobody → tgavankar
Assignee | ||
Comment 2•13 years ago
|
||
Fixed and added a test at https://github.com/jsocol/kitsune/commit/5f4b53d6
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Target Milestone: 2011Q2 → 2.9
Comment 3•13 years ago
|
||
Please add STR- I'm unsure how to verify this. After reading the related bug I tried this link: https://support-release.allizom.org/fr/questions/775683/reply But it did not redirect.
Comment 4•13 years ago
|
||
It shouldn't redirect, it should return HTTP 405
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•