src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html

branch
eric7
changeset 10259
b51dfacef37f
parent 10070
9f5758c0fec1
child 10479
856476537696
equal deleted inserted replaced
10258:e7764f992a01 10259:b51dfacef37f
25 25
26 <table> 26 <table>
27 27
28 <tr> 28 <tr>
29 <td><a href="#checkDjangoExtraUsed">checkDjangoExtraUsed</a></td> 29 <td><a href="#checkDjangoExtraUsed">checkDjangoExtraUsed</a></td>
30 <td></td> 30 <td>Function to check for potential SQL injection on extra function.</td>
31 </tr> 31 </tr>
32 <tr> 32 <tr>
33 <td><a href="#checkDjangoRawSqlUsed">checkDjangoRawSqlUsed</a></td> 33 <td><a href="#checkDjangoRawSqlUsed">checkDjangoRawSqlUsed</a></td>
34 <td></td> 34 <td>Function to check for potential SQL injection on RawSQL function.</td>
35 </tr> 35 </tr>
36 <tr> 36 <tr>
37 <td><a href="#getChecks">getChecks</a></td> 37 <td><a href="#getChecks">getChecks</a></td>
38 <td>Public method to get a dictionary with checks handled by this module.</td> 38 <td>Public method to get a dictionary with checks handled by this module.</td>
39 </tr> 39 </tr>
46 <hr /> 46 <hr />
47 <a NAME="checkDjangoExtraUsed" ID="checkDjangoExtraUsed"></a> 47 <a NAME="checkDjangoExtraUsed" ID="checkDjangoExtraUsed"></a>
48 <h2>checkDjangoExtraUsed</h2> 48 <h2>checkDjangoExtraUsed</h2>
49 <b>checkDjangoExtraUsed</b>(<i>reportError, context, config</i>) 49 <b>checkDjangoExtraUsed</b>(<i>reportError, context, config</i>)
50 50
51 <p>
52 Function to check for potential SQL injection on extra function.
53 </p>
54 <dl>
55
56 <dt><i>reportError</i> (func)</dt>
57 <dd>
58 function to be used to report errors
59 </dd>
60 <dt><i>context</i> (SecurityContext)</dt>
61 <dd>
62 security context object
63 </dd>
64 <dt><i>config</i> (dict)</dt>
65 <dd>
66 dictionary with configuration data
67 </dd>
68 </dl>
51 <div align="right"><a href="#top">Up</a></div> 69 <div align="right"><a href="#top">Up</a></div>
52 <hr /> 70 <hr />
53 <hr /> 71 <hr />
54 <a NAME="checkDjangoRawSqlUsed" ID="checkDjangoRawSqlUsed"></a> 72 <a NAME="checkDjangoRawSqlUsed" ID="checkDjangoRawSqlUsed"></a>
55 <h2>checkDjangoRawSqlUsed</h2> 73 <h2>checkDjangoRawSqlUsed</h2>
56 <b>checkDjangoRawSqlUsed</b>(<i>reportError, context, config</i>) 74 <b>checkDjangoRawSqlUsed</b>(<i>reportError, context, config</i>)
57 75
76 <p>
77 Function to check for potential SQL injection on RawSQL function.
78 </p>
79 <dl>
80
81 <dt><i>reportError</i> (func)</dt>
82 <dd>
83 function to be used to report errors
84 </dd>
85 <dt><i>context</i> (SecurityContext)</dt>
86 <dd>
87 security context object
88 </dd>
89 <dt><i>config</i> (dict)</dt>
90 <dd>
91 dictionary with configuration data
92 </dd>
93 </dl>
58 <div align="right"><a href="#top">Up</a></div> 94 <div align="right"><a href="#top">Up</a></div>
59 <hr /> 95 <hr />
60 <hr /> 96 <hr />
61 <a NAME="getChecks" ID="getChecks"></a> 97 <a NAME="getChecks" ID="getChecks"></a>
62 <h2>getChecks</h2> 98 <h2>getChecks</h2>

eric ide

mercurial