- From: <bugzilla@jessica.w3.org>
- Date: Tue, 26 Jul 2016 19:37:15 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29754
Bug ID: 29754
Summary: Invalid JSON response - "message" is missing a value
Product: Validator
Version: HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: check
Assignee: dave.null@w3.org
Reporter: simpledark@gmail.com
QA Contact: www-validator-cvs@w3.org
Target Milestone: ---
This is a recent regression.
While using the API with:
curl -sF "uploaded_file=@index.html;type=text/html" -F output=json
http://validator.w3.org/check
I get an invalid JSON reponse:
{
"url": "index.html",
"messages": [
{
"message": ,
"messageid": "html5",
"explanation": " <p class=\"helpwanted\">\n <a\n
href=\"feedback.html?uri=;errmsg_id=html5#errormsg\"\n\ttitle=\"Suggest
improvements on this error message through our feedback channels\" \n
>✉</a>\n </p>\n",
"type": "info"
},
...
Note that "message": is missing a value.
In addition, I also get the same extra headers mentioned in Bug 29315, but I've
omitted them from this output.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 26 July 2016 19:37:26 UTC