You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2016/10/27 01:35:59 UTC
[jira] [Resolved] (KNOX-729) Rewrite rules for attributes of html
content applied to a filter don't work
[ https://issues.apache.org/jira/browse/KNOX-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Larry McCay resolved KNOX-729.
------------------------------
Resolution: Fixed
> Rewrite rules for attributes of html content applied to a filter don't work
> ---------------------------------------------------------------------------
>
> Key: KNOX-729
> URL: https://issues.apache.org/jira/browse/KNOX-729
> Project: Apache Knox
> Issue Type: Bug
> Reporter: Sumit Gupta
> Assignee: Sumit Gupta
> Fix For: 0.10.0
>
> Attachments: rewrite-test.patch
>
>
> If you are to apply rules to a filter with html content, the rules don't get applied to the attributes.
> e.g.
> {code}
> <filter name="AMBARIUI/ambari/outbound/mainpage">
> <content type="*/html">
> <apply path="stylesheets/vendor.css" rule="AMBARIUI/ambari/outbound/vendorcss"/>
> </content>
> </filter>
> {code}
> will not rewrite the attribute value of stylesheets/vendor.css in a html page. A similar construct works for Javascript content.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)