mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-26 07:35:39 +00:00
TransclusionDecideRule.java - consider form submission "S" hop as navlink like "L", not transcluded
This commit is contained in:
@@ -93,7 +93,7 @@ public class TransclusionDecideRule extends PredicatedDecideRule {
|
||||
int specCount = 0;
|
||||
for (int i = hopsPath.length() - 1; i >= 0; i--) {
|
||||
char c = hopsPath.charAt(i);
|
||||
if (c == Hop.NAVLINK.getHopChar()) {
|
||||
if (c == Hop.NAVLINK.getHopChar() || c == Hop.SUBMIT.getHopChar()) {
|
||||
// end of hops counted here
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user