This is the Werkzeug 3.1.8 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.8/
Changes: https://werkzeug.palletsprojects.com/page/changes/#version-3-1-8
Milestone: https://github.com/pallets/werkzeug/milestone/45?closed=1
Request.hostandget_hostreturn the empty string if the header is missing or has invalid characters. #3142