You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Georg Koester (JIRA)" <ji...@apache.org> on 2015/03/19 16:21:39 UTC

[jira] [Created] (SLING-4525) XSS protection path mangling issue

Georg Koester created SLING-4525:
------------------------------------

             Summary: XSS protection path mangling issue
                 Key: SLING-4525
                 URL: https://issues.apache.org/jira/browse/SLING-4525
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: XSS Protection API 1.0.0
            Reporter: Georg Koester
            Priority: Minor


Last part in path gets prepended with an underscore if there is a colon in the query string. Test appended, to be applied on  https://github.com/apache/sling/tree/196dea678c6010

Test output:
Failed tests:
  XSSAPIImplTest.testGetValidHref:267 Requested '/content/items/searchpages.html?0_tag:id=geo' expected:</content/items/[searchpages.html?0_tag%3a]id=geo> but was:</content/items/[_searchpages.html?0_tag_]id=geo>



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