Closed as not planned
Description
Given an env var starting with #, when declared using @Value
or @ConfigurationProperties
, it isn't loaded.
Code:
@Value("${my.variable}")
String variable;
or
@Component
@ConfigurationProperties(prefix = "my")
public class ServiceNowProperties {
private String variable;
....
}
ENV VAR:
MY_VARIABLE=#my_value
Expected result (and result in 3.4.5):
variable contains the string "#my_value"
Current result (3.5.0):
no value is present in the variable.