Skip to content

Commit

Permalink
Allow S3 buckets to have dots
Browse files Browse the repository at this point in the history
Closes Homebrew#49729.

Signed-off-by: Tim D. Smith <[email protected]>
  • Loading branch information
kelcecil authored and tdsmith committed Mar 3, 2016
1 parent 60cc229 commit 5fe7d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/download_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def _fetch
raise
end

if @url !~ %r{^https?://+([^.]+).s3.amazonaws.com/+(.+)$}
if @url !~ %r{^https?://+([^.].+).s3.amazonaws.com/+(.+)$}
raise "Bad S3 URL: " + @url
end
bucket = $1
Expand Down

0 comments on commit 5fe7d8e

Please sign in to comment.