mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(fastapi): sanitize /requests params
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
7f4c011dc3
commit
01e27fa347
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue