Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2871

H3 Remote feature Add RejectRules doesn't work systematically

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 6.0
    • None
    • BNF

    Description

      "Add RejectRules" adds the filter to the first "org.archive.modules.deciderules.MatchesListRegexDecideRule" in the scope configuration. 

      If the first deciderule decision is ACCEPT, then it doesn't work.

      <bean id="acceptGoogle" class="org.archive.modules.deciderules.MatchesListRegexDecideRule">
      {{ <property name="comment" value="acceptGoogle" />}}
      {{ <property name="decision" value="ACCEPT" />}}
      {{ <property name="listLogicalOr" value="true" />}}
      {{ <property name="regexList">}}
      {{ <list>}}
      {{ <value>^http(s)?://ajax.googleapis.com/ajax/libs/.*$</value>}}
      {{ <value>^http(s)?://www.googleadservices.com/pagead/conversion.js$</value>}}
      {{ <value>^http(s)?://fonts.googleapis.com/.*$</value>}}
      {{ </list>}}
      {{ </property>}}
      </bean>

      NAS should look into the first  "org.archive.modules.deciderules.MatchesListRegexDecideRule" which has a decision set to REJECT.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sara Sara Aubry
            Wiatrowski Wiatrowski (Inactive)
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: