Nathan Jensen created SHIRO-684:
-----------------------------------
Summary: INI parser keeps escape characters in keys and values
Key: SHIRO-684
URL: https://issues.apache.org/jira/browse/SHIRO-684
Project: Shiro
Issue Type: Bug
Components: Configuration
Affects Versions: 1.4.0, 1.3.2
Reporter: Nathan Jensen
If I have a .ini file and I want to escape a character, the ini parser does not
remove the escape character. For example, with a role such as "System\
Administrator = permissions" the key becomes "System\ Administrator" and the
value "permissions", i.e. the the escape char \ is not removed. The bug is in
Ini.Section.splitKeyValue(String). The code checks for an escape character but
does not skip or remove the escape character from the buffer.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)