Allow S3 buckets to have dots
Closes Homebrew/homebrew#49729. Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
parent
57a81f9e22
commit
59536356b6
@ -451,7 +451,7 @@ class S3DownloadStrategy < CurlDownloadStrategy
|
||||
raise
|
||||
end
|
||||
|
||||
if @url !~ %r{^https?://+([^.]+).s3.amazonaws.com/+(.+)$}
|
||||
if @url !~ %r{^https?://+([^.].+).s3.amazonaws.com/+(.+)$}
|
||||
raise "Bad S3 URL: " + @url
|
||||
end
|
||||
bucket = $1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user