Merge branch 'enhancement/security-machine' into 'dev'

Attempt to appease Iain and the security machine

See merge request crafty-controller/crafty-commander!198
This commit is contained in:
Andrew 2022-03-08 03:21:50 +00:00
commit b9f6aad33d

View File

@ -59,7 +59,8 @@ class BaseHandler(tornado.web.RequestHandler):
return self.autobleach(name, arg)
def get_arguments(self, name: str, strip: bool = True) -> List[str]:
assert isinstance(strip, bool)
if not isinstance(strip, bool):
raise AssertionError
args = self._get_arguments(name, self.request.arguments, strip)
args_ret = []
for arg in args: