Config escape character with special characters
See original GitHub issueDescribe the bug
If you set a property with special characters such as >§°@powefnjvnvfdv% using the path q/dev:
it will be set into the properties file like that:
quarkus.mailer.password=>§°@powefnjvnvfdv%
If we set this property into the file directly using escape char:
quarkus.mailer.password=>\§\°@powefnjvnvfdv%
It won’t be shown correctly:
I searched a guide to use special char within the properties file but I don’t see anything. Is there a specific way to use special characters using the escape char?
Expected behavior
I expect that I can use a special character such as § ° etc. using the char \ or a guide that shows how to use them correctly. Also, I noticed that in order to use the special char $ I have to insert two escape chars. Can anyone help me to find a solution for special characters inserted in a variable into the properties file?
Actual behavior
Some special chars require the char  before, some require an escape char, others require two escape chars, but there’s no guide for using them correctly
How to Reproduce?
No response
Output of uname -a
or ver
No response
Output of java -version
11
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.7.1-final
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
I’ll have a look.
Thanks. I’ll consider that the issue is caused by IntelliJ configuration, and there is nothing we can do on our side so I’m closing the issue. Please, reopen if you disagree.