fix(fastapi): sanitize /requests params

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-10-29 20:29:56 -07:00
parent 7f4c011dc3
commit 01e27fa347
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -635,6 +635,8 @@ async def requests(request: Request,
context = make_context(request, "Requests")
context["q"] = dict(request.query_params)
O, PP = util.sanitize_params(O, PP)
context["O"] = O
context["PP"] = PP