W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2016

[Bug 29754] New: Invalid JSON response - "message" is missing a value

From: <bugzilla@jessica.w3.org>
Date: Tue, 26 Jul 2016 19:37:15 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-29754-169@http.www.w3.org/Bugs/Public/>

            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

I get an invalid JSON reponse:

    "url": "index.html",
    "messages": [


              "message": ,
              "messageid": "html5",
              "explanation": "    <p class=\"helpwanted\">\n      <a\n       
improvements on this error message through our feedback channels\" \n     
>&#x2709;</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

This archive was generated by hypermail 2.3.1 : Tuesday, 26 July 2016 19:37:26 UTC