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
Simon McVittie 2014-10-11 09:43:34 +01:00
parent d7e749572c
commit 56f8223f95
1 changed files with 1 additions and 1 deletions

View File

@ -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,