diff options
| author | robot-piglet <[email protected]> | 2025-07-16 23:16:33 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2025-07-16 23:25:09 +0300 |
| commit | 59eccbb1a6eda291b73e5ed84cdc1bea28b9a965 (patch) | |
| tree | cf628bf255681f89325c511e528e3e162e635eb9 /contrib/python/moto | |
| parent | 1ef4cd332ae3997bcd21bdd00f1d130967d438c4 (diff) | |
Intermediate changes
commit_hash:db81289225678caef15d614451dde5444825067a
Diffstat (limited to 'contrib/python/moto')
| -rw-r--r-- | contrib/python/moto/py3/moto/s3/responses.py | 5 | ||||
| -rw-r--r-- | contrib/python/moto/py3/patches/03-arcadia.patch | 14 |
2 files changed, 1 insertions, 18 deletions
diff --git a/contrib/python/moto/py3/moto/s3/responses.py b/contrib/python/moto/py3/moto/s3/responses.py index 8784d98632d..06171e79c75 100644 --- a/contrib/python/moto/py3/moto/s3/responses.py +++ b/contrib/python/moto/py3/moto/s3/responses.py @@ -362,10 +362,7 @@ class S3Response(BaseResponse): # # Workaround - manually reverse the encoding. # Keep the + encoded, ensuring that parse_qsl doesn't replace it, and parse_qsl will unquote it afterwards - # - # YQ-1825: Replace was commented out as the version of `Werkzeug` - # that we are using is 2.0.3 (lesser than 2.1.0) and workaround is not needed - qs = (parsed_url.query or "") #.replace("+", "%2B") + qs = (parsed_url.query or "").replace("+", "%2B") return parse_qs(qs, keep_blank_values=True) def _bucket_response_head( diff --git a/contrib/python/moto/py3/patches/03-arcadia.patch b/contrib/python/moto/py3/patches/03-arcadia.patch deleted file mode 100644 index 4f01e0d0a40..00000000000 --- a/contrib/python/moto/py3/patches/03-arcadia.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- contrib/python/moto/py3/moto/s3/responses.py (index) -+++ contrib/python/moto/py3/moto/s3/responses.py (working tree) -@@ -362,7 +362,10 @@ class S3Response(BaseResponse): - # - # Workaround - manually reverse the encoding. - # Keep the + encoded, ensuring that parse_qsl doesn't replace it, and parse_qsl will unquote it afterwards -- qs = (parsed_url.query or "").replace("+", "%2B") -+ # -+ # YQ-1825: Replace was commented out as the version of `Werkzeug` -+ # that we are using is 2.0.3 (lesser than 2.1.0) and workaround is not needed -+ qs = (parsed_url.query or "") #.replace("+", "%2B") - return parse_qs(qs, keep_blank_values=True) - - def _bucket_response_head( |
