aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@rbsd.ankarstrom.se>2021-04-25 22:45:53 +0000
committerroot <root@rbsd.ankarstrom.se>2021-04-25 22:45:53 +0000
commite455862603e1ae1842b26bc9cbe685e5c4ee2d90 (patch)
tree8d377089164bd71d8176150cb173ce68ddf8e767
parentc6407f93a8d38f04ec46d8868159f385396f73af (diff)
downloadApache-Inject-e455862603e1ae1842b26bc9cbe685e5c4ee2d90.tar.gz
Change formatting
-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");