Skip to content

Commit

Permalink
Merge pull request #96 from jhunkeler/sanitize-docker-archive-name
Browse files Browse the repository at this point in the history
Ignore wildcards in docker_sanitize_tag
  • Loading branch information
jhunkeler authored Feb 15, 2025
2 parents f96fc90 + 02c187b commit fb520d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core/docker.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void docker_sanitize_tag(char *str) {
char *pos = str;
while (*pos != 0) {
if (!isalnum(*pos)) {
if (*pos != '.' && *pos != ':' && *pos != '/') {
if (*pos != '*' && *pos != '.' && *pos != ':' && *pos != '/') {
*pos = '-';
}
}
Expand Down

0 comments on commit fb520d8

Please sign in to comment.