[ 
https://issues.apache.org/jira/browse/KNOX-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15577902#comment-15577902
 ] 

Sumit Gupta commented on KNOX-729:
----------------------------------

[~nishantbangarwa] please try this out to see if this helps your use case.

> 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
>
>
> 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)

Reply via email to