Fix issues with unicode and slashes for S3. Closes #521.
This commit is contained in:
parent
15dc619fb2
commit
0a10b2f738
2 changed files with 13 additions and 1 deletions
|
|
@ -15,5 +15,5 @@ url_paths = {
|
|||
'{0}/(?P<key_or_bucket_name>[^/]+)/?$': S3ResponseInstance.ambiguous_response,
|
||||
|
||||
# path-based bucket + key
|
||||
'{0}/(?P<bucket_name_path>[a-zA-Z0-9\-_./]+)/(?P<key_name>.+)': S3ResponseInstance.key_response,
|
||||
'{0}/(?P<bucket_name_path>[^/]+)/(?P<key_name>.+)': S3ResponseInstance.key_response,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue