Closed
Bug 581326
Opened 15 years ago
Closed 15 years ago
Misleading JSON error message
Categories
(Bugzilla :: WebService, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: Wurblzap, Assigned: Wurblzap)
Details
Attachments
(1 file)
|
667 bytes,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
JSON Methods which may alter data may only be called using HTTP POST. If you don't (if you use HTTP GET), you get an error message saying "you may only call the 'foo' method via HTTP POST". To my eyes, this reads as if the 'foo' method is the only method which may be called via POST, and all others need to be called via GET.
The attached patch (for 4.0 and HEAD) rewords this to saying "you must use HTTP POST to call the 'foo' method".
Attachment #459784 -
Flags: review?(mkanat)
Comment 1•15 years ago
|
||
Comment on attachment 459784 [details] [diff] [review]
Patch
Sounds good to me. :-)
Attachment #459784 -
Flags: review?(mkanat) → review+
Updated•15 years ago
|
Flags: approval4.0+
Flags: approval+
| Assignee | ||
Comment 2•15 years ago
|
||
HEAD:
Committing to: bzr+ssh://wurblzap%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified template/en/default/global/user-error.html.tmpl
Committed revision 7401.
4.0:
Committing to: bzr+ssh://wurblzap%40gmail.com@bzr.mozilla.org/bugzilla/4.0/
modified template/en/default/global/user-error.html.tmpl
Committed revision 7346.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•