You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2016/08/18 15:00:27 UTC

[jira] [Resolved] (SLING-4560) XSSAPI#getValidHref is empty for valid Bengali or Hindi characters

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

Radu Cotescu resolved SLING-4560.
---------------------------------
    Resolution: Fixed

Pushed a potential fix in [r1756802|https://svn.apache.org/r1756802].

> XSSAPI#getValidHref is empty for valid Bengali or Hindi characters
> ------------------------------------------------------------------
>
>                 Key: SLING-4560
>                 URL: https://issues.apache.org/jira/browse/SLING-4560
>             Project: Sling
>          Issue Type: Bug
>          Components: XSS Protection API
>    Affects Versions: XSS Protection API 1.0.0
>            Reporter: Jean-Christophe Kautzmann
>            Assignee: Radu Cotescu
>             Fix For: XSS Protection API 1.0.14
>
>
> I added (locally) 2 test cases to org.apache.sling.xss.impl.XSSAPIImplTest#testGetValidHref:
> {code}
> {"/etc/commerce/collections/中文", "/etc/commerce/collections/中文"},
> {"/etc/commerce/collections/⺁〡〢☉⊕〒", "/etc/commerce/collections/⺁〡〢☉⊕〒"},
> {code}
> the first test passes (chinese characters), the 2nd fails (bengali/hindi characters) although it should pass as they are valid characters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)