[ 
https://issues.apache.org/jira/browse/SHIRO-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826638#comment-16826638
 ] 

Francois Papon commented on SHIRO-684:
--------------------------------------

Thanks for the report!

> 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.3.2, 1.4.0
>            Reporter: Nathan Jensen
>            Priority: Major
>
> 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)

Reply via email to