Skip to content

SurtPrefixedDecideRule doesnt seem to work as expected #530

Answered by ato
naveen17797 asked this question in Q&A
Discussion options

You must be logged in to vote

The decide rules work such that the last rule that matches wins. The ACCEPT TransclusionDecideRule will override the acceptSurts rule in order to fetch embedded resources such as images, stylesheets, javascript etc that are needed to render the page. To disable this behaviour and follow acceptSurts strictly even for embedded content then delete or comment out the TransclusionDecideRule.

    <!-- ...but ACCEPT those more than a configured link-hop-count from start... -->
    <bean class="org.archive.modules.deciderules.TransclusionDecideRule">
     <!-- <property name="maxTransHops" value="2" /> -->
     <!-- <property name="maxSpeculativeHops" value="1" /> -->
    </bean>

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ato
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #436 on September 30, 2022 00:54.