aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Apache/Inject/Handler.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Apache/Inject/Handler.pm b/lib/Apache/Inject/Handler.pm
index 21be3c0..f9254fd 100644
--- a/lib/Apache/Inject/Handler.pm
+++ b/lib/Apache/Inject/Handler.pm
@@ -61,8 +61,7 @@ sub inject {
# Validate path
if ($val =~ m{^/}) {
- $r->log_error("Inject: $var should not begin with slash, "
- . "as it is already always relative to document root");
+ $r->log_error("Inject: $var should not begin with slash, as it is already always relative to document root");
}
if ($val =~ m{^../|/../|/..$}) {
$r->log_error("Inject: $var cannot extend past document root");