summaryrefslogtreecommitdiff
path: root/src/etc/opennhrp/opennhrp-script.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-06-12 11:43:29 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-06-12 11:52:57 -0500
commit3a9041e2d4d4a48ba7c01439e69c5f86a4a850c2 (patch)
tree1b0399cd9f735c269ae2f69b6d1bec5b75889580 /src/etc/opennhrp/opennhrp-script.py
parent5cf4c64207b6526092e623476953044609b94c6c (diff)
downloadvyos-1x-3a9041e2d4d4a48ba7c01439e69c5f86a4a850c2.tar.gz
vyos-1x-3a9041e2d4d4a48ba7c01439e69c5f86a4a850c2.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.
Diffstat (limited to 'src/etc/opennhrp/opennhrp-script.py')
0 files changed, 0 insertions, 0 deletions