You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sumit Gupta (JIRA)" <ji...@apache.org> on 2016/07/26 19:15:20 UTC
[jira] [Created] (KNOX-729) Rewrite rules for attributes of html
content applied to a filter don't work
Sumit Gupta created KNOX-729:
--------------------------------
Summary: 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
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)