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

James Forrester <jforres...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
            Summary|modules/syntaxhighlight/rul |VisualEditor:
                   |es/mysql.json has unescaped |modules/syntaxhighlight/rul
                   |double quotes in a double   |es/mysql.json has unescaped
                   |quoted string               |double quotes in a double
                   |                            |quoted string

--- Comment #2 from James Forrester <jforres...@wikimedia.org> ---
(In reply to Antoine "hashar" Musso from comment #0)
> 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

It's in a file that's not currently used (the code needs some work), but I've
fixed it.

-- 
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