Ticket #3797 (closed defect (bug): fixed)
Requesting wp-comments-post.php with GET should return 405
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 2.2 |
| Component: | Administration | Version: | 2.0.9 |
| Severity: | normal | Keywords: | has-patch |
| 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
Change History
MikeLittle — 5 years ago
-
attachment
wp-comments-post.php-patch-trunk.patch
added
MikeLittle — 5 years ago
-
attachment
wp-comments-post.php-patch-2.0.patch
added
Patch (against 2.0.9) to fix this issue
MikeLittle — 5 years ago
-
attachment
wp-comments-post.php-patch-2.1.patch
added
Patch (against 2.1 branch) to fix this issue.
Note: See
TracTickets for help on using
tickets.

Patch (against trunk) to fix this issue.