You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A number of requests imported from the UI flask application check the request data with request.get_json().
Recommendation in Flask documentation is to check content length prior to loading & parsing the request data.
Resolved when
Define a max length for the ui routes blueprint content bodies e.g. CONTENT_LEN_MAX = 65536
Replace existing checks for json content of a post request
ifrequest.method=='POST'andrequest.get_json():
with type and length check before proceeding with request.get_json()
Issue or current state
A number of requests imported from the UI flask application check the request data with
request.get_json()
.Recommendation in Flask documentation is to check content length prior to loading & parsing the request data.
Resolved when
Define a max length for the ui routes blueprint content bodies e.g.
CONTENT_LEN_MAX = 65536
Replace existing checks for json content of a post request
with type and length check before proceeding with
request.get_json()
The text was updated successfully, but these errors were encountered: