summaryrefslogtreecommitdiff
path: root/python/vyos/dicts.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-06-12 11:43:29 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-11-07 15:21:50 -0600
commit8b8c2b36f85072def2bbb59040305e19b187a399 (patch)
tree66a5683ff29b5498d9a27301ce2e599096051078 /python/vyos/dicts.py
parent37c3ebc8aba14ba7605fbbb9c4013cbd2513400d (diff)
downloadvyos-1x-8b8c2b36f85072def2bbb59040305e19b187a399.tar.gz
vyos-1x-8b8c2b36f85072def2bbb59040305e19b187a399.zip
http-api: T3616: update for strict content-type check in FastAPI 0.65.2
FastAPI 0.65.2 checks content-type request header before assuming JSON, closing a well-known loophole. This requires a modification of the code providing backwards compatibility of multipart forms. (cherry picked from commit 3a9041e2d4d4a48ba7c01439e69c5f86a4a850c2)
Diffstat (limited to 'python/vyos/dicts.py')
0 files changed, 0 insertions, 0 deletions