mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
mod_http_cache: fixed wrong string to sign when referencing AWS S3 object with subdirectory
This commit is contained in:
1 parent
a3dfd0bf62
commit
98ae1c93fa
2 files changed
+5
-5
No files matched your search
@@ -146,11 +146,6 @@ void aws_s3_parse_url(char *url, char **bucket, char **object)
|
||||
}
|
||||
object_start++;
|
||||
|
||||
if (strchr(object_start, '/')) {
|
||||
/* invalid URL */
|
||||
return;
|
||||
}
|
||||
|
||||
if (zstr(bucket_start) || zstr(object_start)) {
|
||||
/* invalid URL */
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user