Opened 18 years ago
Closed 18 years ago
#3797 closed defect (bug) (fixed)
Requesting wp-comments-post.php with GET should return 405
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.2 | Priority: | low |
Severity: | normal | Version: | 2.0.9 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
As pointed out by Elliotte Harold
http://comox.textdrive.com/pipermail/wp-hackers/2007-February/010722.html
if you request wp-comments-post.php with HTTP GET method, it returns 200 OK.
It should return 405 Method Not Allowed.
The RFC also calls for an 'Allowed' header when returning this status.
Attachments (3)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Patch (against trunk) to fix this issue.