Skip to content

Commit

Permalink
Allow bucket names with short segments.
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jul 29, 2013
1 parent 96bbf96 commit 01919bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var MIN_BUCKET_LENGTH = 3;
var MAX_NON_US_STANDARD_BUCKET_LENGTH = 63;
var MAX_US_STANDARD_BUCKET_LENGTH = 255;
var US_STANDARD_BUCKET = /^[A-Za-z0-9\._-]*$/;
var BUCKET_LABEL = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
var BUCKET_LABEL = /^(?:[a-z0-9][a-z0-9-]*[a-z0-9]|[a-z0-9])$/;
var IPV4_ADDRESS = /^(\d{1,3}\.){3}(\d{1,3})$/;

/**
Expand Down

0 comments on commit 01919bf

Please sign in to comment.