Fix using non-strings as anchors
Previously, non-strings passed to _anchor would be converted to strings.
Restore this ability. The logic is the same as in url_quote.
Fixes: c4b39ba2 ("replace werkzeug.urls with urllib.parse")
This commit is contained in:
parent
cb825687a5
commit
547f2b7f1e
3 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ Unreleased
|
|||
- Require Werkzeug >= 2.3.6.
|
||||
- Use ``flit_core`` instead of ``setuptools`` as build backend.
|
||||
- Refactor how an app's root and instance paths are determined. :issue:`5160`
|
||||
- Fix passing non-string values to ``url_for``. :issue:`5206`
|
||||
|
||||
|
||||
Version 2.3.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue