json help returns wrong http response code
Bug #1946604 reported by
Gold
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Low
|
Unassigned |
Bug Description
While working on another bug that had the json/help.php script returning a "not found" message I noticed that this was still returning 200 OK.
If the help document is not found it should be returning a 404 Not Found.
To test:
In a browser, open the inspector/devtools and select the network tab.
Open https:/
Check the status of the request.
Observed: 200
Expected: 404
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: bite-sized |
To post a comment you must log in.