Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-729

Rewrite rules for attributes of html content applied to a filter don't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • None

    Description

      If you are to apply rules to a filter with html content, the rules don't get applied to the attributes.

      e.g.

       <filter name="AMBARIUI/ambari/outbound/mainpage">
              <content type="*/html">
                  <apply path="stylesheets/vendor.css" rule="AMBARIUI/ambari/outbound/vendorcss"/>
              </content>
          </filter>
      
      

      will not rewrite the attribute value of stylesheets/vendor.css in a html page. A similar construct works for Javascript content.

      Attachments

        1. rewrite-test.patch
          3 kB
          Nishant Bangarwa

        Activity

          People

            sumit.gupta Sumit Gupta
            sumit.gupta Sumit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: