From 07b6aaa59257778fba1f805ee4051baf1917980b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 26 Apr 2021 23:21:26 +0000 Subject: Fix bug --- lib/Apache/Inject.pm | 4 ++-- 1 file 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([ -- cgit v1.2.3