mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-25 07:05:49 +00:00
do not require "+" (plus sign) before @OPERATOR_CONTACT_URL@ in user-agent -- many bots including googlebot have the +, but some don't, so having it in the default template seems sufficient
This commit is contained in:
@@ -201,7 +201,7 @@ implements UserAgentProvider,
|
||||
protected static Validator VALIDATOR = new BeanFieldsPatternValidator(
|
||||
CrawlMetadata.class,
|
||||
"userAgentTemplate",
|
||||
"^.*\\+@OPERATOR_CONTACT_URL@.*$",
|
||||
"^.*\\@OPERATOR_CONTACT_URL@.*$",
|
||||
"You must supply a userAgentTemplate value that includes " +
|
||||
"the string \"@OPERATOR_CONTACT_URL@\" where your crawl" +
|
||||
"contact URL will appear.",
|
||||
|
||||
Reference in New Issue
Block a user