]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
vpnmain.cgi: Fix extra whitespace in exported pk12 file
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 30 Dec 2021 19:15:36 +0000 (20:15 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 4 Jan 2022 17:06:12 +0000 (18:06 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
html/cgi-bin/vpnmain.cgi

index 004e3ad1f27225b305f56d7dae8d326da2c50e59..fb0af104f8d4071d1af55d021a79656fe810d3b3 100644 (file)
@@ -1242,7 +1242,7 @@ END
        open(FILE, "${General::swroot}/certs/$confighash{$cgiparams{'KEY'}}[1].p12");
        my @p12 = <FILE>;
        close(FILE);
-       print "@p12";
+       print join("", @p12);
 
        exit (0);