QL code and tests for C#/C++/JavaScript.

This commit is contained in:
Pavel Avgustinov
2018-08-02 17:53:23 +01:00
commit b55526aa58
10684 changed files with 581163 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<!DOCTYPE qhelp PUBLIC
"-//Semmle//qhelp//EN"
"qhelp.dtd">
<qhelp>
<overview>
<p>
JSON data should normally be stored in files with extension 'json'. If it is stored in files
with extension 'js' or 'jsx' (which are normally associated with JavaScript), developers might
attempt to parse or execute the JSON data as JavaScript, which can lead to parse errors.
</p>
</overview>
<recommendation>
<p>
Rename the file to have extension 'json'.
</p>
</recommendation>
<references>
<li>Internet Engineering Taskforce: <a href="https://tools.ietf.org/html/rfc7159">RFC 7159: The JavaScript Object Notation (JSON) Data Interchange Format</a>.</li>
</references>
</qhelp>