* Speed up security filter middleware Check the path and query string with the filter expression once instead of checking the path and query string seperately. If we get a hit than we check the query string to ensure we give a more verbose error about where the filter hit. Additionally since we see the same urls over and over, cache the unquote * request.url is to expensive, cheaper to join * aiohttp has a path_qs fast path * construct the string outselves so it functions exactly as before |
||
---|---|---|
.. | ||
__init__.py | ||
auth.py | ||
ban.py | ||
const.py | ||
cors.py | ||
data_validator.py | ||
decorators.py | ||
forwarded.py | ||
headers.py | ||
manifest.json | ||
request_context.py | ||
security_filter.py | ||
static.py | ||
view.py | ||
web_runner.py |