mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
Exclude some guaranteed-to-be-noncanonical forum URLs.
This commit is contained in:
parent
123603b0a3
commit
324c05fc42
@ -39,10 +39,17 @@ public class QueryParams {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (param.startsWith("f=")) {
|
||||||
|
if (path.endsWith("showthread.php") || path.endsWith("viewtopic.php")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (param.startsWith("i=")) return true;
|
if (param.startsWith("i=")) return true;
|
||||||
if (param.startsWith("start=")) return true;
|
if (param.startsWith("start=")) return true;
|
||||||
if (param.startsWith("t=")) return true;
|
if (param.startsWith("t=")) return true;
|
||||||
if (param.startsWith("v=")) return true;
|
if (param.startsWith("v=")) return true;
|
||||||
|
|
||||||
if (param.startsWith("post=")) return true;
|
if (param.startsWith("post=")) return true;
|
||||||
|
|
||||||
if (path.endsWith("index.php")) {
|
if (path.endsWith("index.php")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user