pallets / werkzeug

The comprehensive WSGI web application library.
https://werkzeug.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
6.65k stars 1.73k forks source link

remove iri_to_uri redirect workaround #2894

Closed davidism closed 5 months ago

davidism commented 5 months ago

Tell Python < 3.12 to handle the itms-services scheme correctly, rather than using a workaround in Werkzeug. The workaround was too broad and would pass through other ASCII URIs that should have been percent encoded. See https://github.com/python/cpython/issues/104139#issuecomment-1539176043 for how to add other schemes. If you find a scheme that needs special handling, please report it to Python.

fixes #2828