Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.2.3
Description
<property name="pass_ok" value="myPassWith123#]@&"/> <property name="pass_split" value="myPassWith123}]@&"/>
If you try using following passwords (e.g. in my case in DbAppender) first one will be substituted correctly and second one will result in following literal: myPassWith123
Second password contains right curly brace which ch.qos.logback.core.subst.Tokenizer handles as a special token. I guess all special chars from method
Tokenizer#handleLiteralState(..) will result in the same behavior: $ : { }
I couldn't figure out how to escape the values properly. Tried approach with escaping from Layout Patterns, didn't help.