We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a2b4e4 commit 20c73dfCopy full SHA for 20c73df
.changes/1481.json
@@ -0,0 +1,4 @@
1
+{
2
+ "description": "allow pass-through environment variables to contain numbers",
3
+ "type": "fixed"
4
+}
src/docker/shared.rs
@@ -914,7 +914,7 @@ fn validate_env_var<'a>(
914
&& !*warned
915
&& !var
916
.chars()
917
- .all(|c| matches!(c, 'a'..='z' | 'A'..='Z' | '_' ))
+ .all(|c| matches!(c, 'a'..='z' | 'A'..='Z' | '_' | '0'..='9'))
918
{
919
msg_info.warn(format_args!(
920
"got {var_type} of \"{var}\" which is not a valid environment variable name. the proper syntax is {var_syntax}"
0 commit comments