aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@rbsd.ankarstrom.se>2021-04-26 23:21:26 +0000
committerroot <root@rbsd.ankarstrom.se>2021-04-26 23:21:26 +0000
commit07b6aaa59257778fba1f805ee4051baf1917980b (patch)
treea1115b1ffc70f9092f1158e83570d76e203190f9
parent020f1277ffc53225b7333c5339d7230281c0fb5a (diff)
downloadApache-Inject-07b6aaa59257778fba1f805ee4051baf1917980b.tar.gz
Fix bug
-rw-r--r--lib/Apache/Inject.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Apache/Inject.pm b/lib/Apache/Inject.pm
index 89c0db8..0670e69 100644
--- a/lib/Apache/Inject.pm
+++ b/lib/Apache/Inject.pm
@@ -26,8 +26,8 @@ sub Inject {
# Construct directives for passing arguments to handler
my $head = $args[0];
my $foot = $args[1] || '-'; # single hyphen signifies absence of argument
- $head =~ s/\\/\\\\/; s/"/\\"/;
- $foot =~ s/\\/\\\\/; s/"/\\"/;
+ $head =~ s/\\/\\\\/; $head =~ s/"/\\"/;
+ $foot =~ s/\\/\\\\/; $foot =~ s/"/\\"/;
# Add relevant directives to current configuration
$parms->add_config([