33 (checkDjangoXssVulnerability, ("S703",)), |
33 (checkDjangoXssVulnerability, ("S703",)), |
34 ], |
34 ], |
35 } |
35 } |
36 |
36 |
37 |
37 |
38 def checkDjangoXssVulnerability(reportError, context, config): |
38 def checkDjangoXssVulnerability(reportError, context, config): # noqa: U100 |
39 """ |
39 """ |
40 Function to check for potential XSS vulnerability. |
40 Function to check for potential XSS vulnerability. |
41 |
41 |
42 @param reportError function to be used to report errors |
42 @param reportError function to be used to report errors |
43 @type func |
43 @type func |