Skip to content

Commit

Permalink
Merge pull request #3 from tonistaht/main
Browse files Browse the repository at this point in the history
Allow hyphens in Codeartifact domain name
  • Loading branch information
indyaah authored Mar 18, 2024
2 parents 06e0207 + 01e4897 commit 194171d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class CodeArtifactTokenInjectingSpy extends AbstractEventSpy {

private static final Pattern CODE_ARTIFACT_PATTERN =
Pattern.compile(
"([a-zA-Z]+){1,63}-([0-9]{12})\\.d\\.codeartifact.([a-z]+-[a-z]+-[0-9])\\.amazonaws\\.com");
"([a-zA-Z-]+){1,63}-([0-9]{12})\\.d\\.codeartifact.([a-z]+-[a-z]+-[0-9])\\.amazonaws\\.com");
private final Map<String, String> tokenCache = new ConcurrentHashMap<>();

@Override
Expand Down

0 comments on commit 194171d

Please sign in to comment.