This is the Werkzeug 3.1.7 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Werkzeug/3.1.7/
Changes: https://werkzeug.palletsprojects.com/page/changes/#version-3-1-7
Milestone: https://github.com/pallets/werkzeug/milestone/44?closed=1
parse_list_headerpreserves partially quoted items, discards empty items, and returns empty for unclosed quoted values. #3128WWWAuthenticate.to_headerdoes not produce a trailing space when there are no parameters. #3127Transfer-Encodingis parsed as a set. #3134Request.host,get_host, andhost_is_trustedvalidate the characters of the value. An empty value is no longer allowed. A Unix socket server address is ignored. Thetrusted_listargument tohost_is_trustedis optional. #3113- Fix multipart form parser handling of newline at boundary. #3088
Response.make_conditionalsets theAccept-Rangesheader even if it is not a satisfiable range request. #3108merge_slashesmerges any number of consecutive slashes. #3121