Set default User-Agent to something that doesn't mention libwww-perl
It appears that both the open-source and proprietary rulesets for ModSecurity default to blacklisting requests that say they are from libwww-perl, presumably because some script kiddies use libwww-perl and are too inept to set a User-Agent that is "too big to blacklist", like Chrome or the iPhone browser or something. This seems doomed to failure but whatever.master
parent
d7e749572c
commit
56f8223f95
|
@ -543,7 +543,7 @@ sub getsetup () {
|
|||
},
|
||||
useragent => {
|
||||
type => "string",
|
||||
default => undef,
|
||||
default => "ikiwiki/$version",
|
||||
example => "Wget/1.13.4 (linux-gnu)",
|
||||
description => "set custom user agent string for outbound HTTP requests e.g. when fetching aggregated RSS feeds",
|
||||
safe => 0,
|
||||
|
|
Loading…
Reference in New Issue