Marek Šabo created LOGBACK-1461: ----------------------------------- Summary: Tokenizer splits values containing special characters during variable substitution Key: LOGBACK-1461 URL: https://jira.qos.ch/browse/LOGBACK-1461 Project: logback Issue Type: Bug Components: logback-core Affects Versions: 1.2.3 Reporter: Marek Šabo Assignee: Logback dev list
{code:java} <property name="pass_ok" value="myPassWith123#]@&"/> <property name="pass_split" value="myPassWith123}]@&"/> {code} Second password contains right curly brace which _ch.qos.logback.core.subst.Tokenizer_ uses a split-point. 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. -- This message was sent by Atlassian JIRA (v7.3.1#73012) _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev