You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2012/10/05 14:04:03 UTC

[jira] [Resolved] (SLING-2578) Filter value should be escaped

     [ https://issues.apache.org/jira/browse/SLING-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-2578.
-------------------------------------

    Resolution: Fixed

Fixed in trunk
                
> Filter value should be escaped
> ------------------------------
>
>                 Key: SLING-2578
>                 URL: https://issues.apache.org/jira/browse/SLING-2578
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>    Affects Versions: Installer Configuration Factory 1.0.8
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Configuration Factory 1.0.10
>
>
> The created filters use pid and factory pids as values which should not contain any of the below characters. However, this is a should in the spec, there it might happen. We should check these value against illegal characters and escape:
> From the spec:
> If value must contain one of the characters reverse solidus (backslash ’\’ \u005C), asterisk ('*'
> \u002A), parentheses open (’(’ \u0028) or parentheses close (')' \u0029), then these characters
> should be preceded with the reverse solidus (backslash’\’ \u005C) character

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira