diff options
author | root <root@rbsd.ankarstrom.se> | 2021-04-26 23:21:26 +0000 |
---|---|---|
committer | root <root@rbsd.ankarstrom.se> | 2021-04-26 23:21:26 +0000 |
commit | 07b6aaa59257778fba1f805ee4051baf1917980b (patch) | |
tree | a1115b1ffc70f9092f1158e83570d76e203190f9 /lib/Apache | |
parent | 020f1277ffc53225b7333c5339d7230281c0fb5a (diff) | |
download | Apache-Inject-07b6aaa59257778fba1f805ee4051baf1917980b.tar.gz |
Fix bug
Diffstat (limited to 'lib/Apache')
-rw-r--r-- | lib/Apache/Inject.pm | 4 |
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([ |