mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-07-19 14:07:05 +00:00
Merge pull request #58 from nlevitt/ari-3723
for ARI-3723, accept speculative urls with query params with no value
This commit is contained in:
@@ -380,7 +380,7 @@ public class UriUtils {
|
||||
"tt", "u", "ul", "var", "video", "wbr"));
|
||||
}
|
||||
|
||||
protected static final String QNV = "[a-zA-Z_]+=(?:[\\w-/.]|%[0-9a-fA-F]{2})+"; // name=value for query strings
|
||||
protected static final String QNV = "[a-zA-Z_]+=(?:[\\w-/.]|%[0-9a-fA-F]{2})*"; // name=value for query strings
|
||||
protected static final String VERY_LIKELY_RELATIVE_URI_PATTERN =
|
||||
"(?:\\.?/)?" // may start with "/" or "./"
|
||||
+ "(?:(?:[\\w-]+|\\.\\.)/)*" // may have path/segments/
|
||||
|
||||
Reference in New Issue
Block a user