Hide Forgot
Description of problem: when add variable with its name contains non-alphanumeric characters, it pass without any errors Version-Release number of selected component (if applicable): devenv_3678 rhc build from devenv_3677 How reproducible: always Steps to Reproduce: 1.Create a app 2.Add a variable via contains non-alphanumeric characters rhc env set %asdf=adf -a $app_name rhc env set %2E=asdf -a $app_name rhc env set @=asdf -a $app_name rhc env set == -a $app_name 3.Check the variable if it is added Actual results: rhc env set %asdf=adf -a $app_name Setting environment variable(s) ... Unable to complete the requested operation due to: bad URI(is not URI?): domains/wjiang/applications/appa/environment-variables/%asdf. Reference ID: 6c112f87f528b9c5abdb34890fb81247 variable is added but can not `rhc env list ` rhc env set %2E=asdf -a $app_name Setting environment variable(s) ... done variable is added and can `rhc env list` rhc env set @=asdf -a $app_name Setting environment variable(s) ... done variable is added and can `rhc env list` rhc env set == -a $app_name Setting environment variable(s) ... done variable is not added Expected results: Additional info:
Pull request: https://github.com/openshift/rhc/pull/444
Test on devenv_3683, and all display: Environment variable(s) not provided. Please provide at least one environment variable using the syntax VARIABLE=VALUE. VARIABLE can only contain letters, digits and underscore ('_') and can't begin with a digit. so verified this, thx
And rhc version is rhc build from devenv_3683