eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.markupsafeMarkupXSS

Module implementing checks for potential XSS on markupsafe.Markup use.

Global Attributes

None

Classes

None

Functions

getChecks Public method to get a dictionary with checks handled by this module.
markupsafeMarkupXss Function to check for potential XSS on markupsafe.Markup use.


getChecks

getChecks()

Public method to get a dictionary with checks handled by this module.

Return:
dictionary containing checker lists containing checker function and list of codes
Return Type:
dict
Up


markupsafeMarkupXss

markupsafeMarkupXss(reportError, context, config)

Function to check for potential XSS on markupsafe.Markup use.

reportError (func)
function to be used to report errors
context (SecurityContext)
security context object
config (dict)
dictionary with configuration data (unused)
Up