← Back to team overview

mahara-contributors team mailing list archive

[Bug 1946604] Re: json help returns wrong http response code

 

** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Low

** Tags added: bite-sized

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1946604

Title:
  json help returns wrong http response code

Status in Mahara:
  Confirmed

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://demo.mahara.org/json/help.php?plugintype=core&pluginname=view&page=not-a-real-page
  Check the status of the request.

  Observed: 200

  Expected: 404

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1946604/+subscriptions



References