https://bugzilla.wikimedia.org/show_bug.cgi?id=61659

            Bug ID: 61659
           Summary: modules/syntaxhighlight/rules/mysql.json has unescaped
                    double quotes in a double quoted string
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: jforres...@wikimedia.org
          Reporter: has...@free.fr
                CC: jforres...@wikimedia.org, jh...@wikimedia.org,
                    krinklem...@gmail.com, ryasm...@wikimedia.org
            Blocks: 58279
       Web browser: ---
   Mobile Platform: ---

The file modules/syntaxhighlight/rules/mysql.json has at least one double
quoted string containing unescaped double quotes. I.e something like:

{
 "match" : """
}

That cause PHP json_decode() to choke with a syntax error.  I wrote a json
linter to lint json files in Jenkins.  You can try it using
integration/jenkins.git and running bin/json-lint.php

 ./modules/syntaxhighlight/rules/mysql.json: Syntax error

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to