Skip to content

Commit

Permalink
Restore unquoting of %2F in paths
Browse files Browse the repository at this point in the history
This undones only the ignore part of #1057 in as we will instead
add a new property called path_safe in #1150
  • Loading branch information
bdraco committed Sep 23, 2024
1 parent 6795a59 commit 127a970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarl/_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class URL:
_FRAGMENT_REQUOTER = _Quoter(safe="?/:@")

_UNQUOTER = _Unquoter()
_PATH_UNQUOTER = _Unquoter(ignore="/", unsafe="+")
_PATH_UNQUOTER = _Unquoter(unsafe="+")
_QS_UNQUOTER = _Unquoter(qs=True)

_val: SplitResult
Expand Down

0 comments on commit 127a970

Please sign in to comment.