diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-02-15 12:58:58 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-02-15 12:58:58 -0500 |
commit | 02c187b9692fe71c30e0268e1606f3a359bb187d (patch) | |
tree | f7aadca00226e922c5c082aab2b50342e4a4dd9c /src | |
parent | 5bac4d7c79ee0148e8464abcbac6035440b4d196 (diff) | |
download | stasis-02c187b9692fe71c30e0268e1606f3a359bb187d.tar.gz |
Ignore wildcards in docker_sanitize_tag
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/core/docker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/docker.c b/src/lib/core/docker.c index 4dd5163..3035b01 100644 --- a/src/lib/core/docker.c +++ b/src/lib/core/docker.c @@ -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 = '-'; } } |