From 403250e91905079c7480bb8ea54cf2d2a301022f Mon Sep 17 00:00:00 2001 From: Steve Pulec Date: Thu, 6 Feb 2014 20:47:56 -0500 Subject: [PATCH] Fix S3 URL Regex to allow slashes in key names. --- moto/s3/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/s3/urls.py b/moto/s3/urls.py index 5f9bc0cf..01092734 100644 --- a/moto/s3/urls.py +++ b/moto/s3/urls.py @@ -6,5 +6,5 @@ url_bases = [ url_paths = { '{0}/$': S3ResponseInstance.bucket_response, - '{0}/(?P[a-zA-Z0-9\-_.]+)': S3ResponseInstance.key_response, + '{0}/(?P.+)': S3ResponseInstance.key_response, }