Opened 10 years ago
Closed 10 years ago
#36362 closed defect (bug) (fixed)
check_ajax_referer() does not send a 403 response code upon failure
| Reported by: | johnbillion | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Security | Version: | 3.4 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
When check_ajax_referer() fails, a 200 HTTP response code is still sent back to the client, whereas check_admin_referer() correctly returns a 403.
The _ajax_wp_die_handler() function lacks the ability to provide an HTTP response code.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 38421: