You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2015/10/29 14:51:27 UTC

[jira] [Created] (KNOX-616) XmlUrlRewriteStreamFilter unscapes escaped special characters

Kevin Minder created KNOX-616:
---------------------------------

             Summary: XmlUrlRewriteStreamFilter unscapes escaped special characters
                 Key: KNOX-616
                 URL: https://issues.apache.org/jira/browse/KNOX-616
             Project: Apache Knox
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.6.0
            Reporter: Kevin Minder
            Assignee: Kevin Minder
            Priority: Critical
             Fix For: 0.7.0


The “UrlRewriteServletFilter” applies “XmlUrlRewriteStreamFilter” to all XML request. During the processing it was observed the passing through XML loses all the escaped special characters. For example:

<tag>&amp;<tag> is delivered as <tag>&<tag>

The “XmlUrlRewriteStreamFilter “ needs to be fixed to pass through XML unchanged. Or a configuration setting is needed to allow specifying the “NoOpUrlRewriteStreamFilter” when no rewriting rules are required.



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