]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
wireguard.cgi: Normalize filenames
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Sep 2024 15:55:46 +0000 (17:55 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Apr 2025 14:48:53 +0000 (16:48 +0200)
commit37174e29de670a33f9be4b90c88b0a96c695dad1
tree2546f3eeae1a250cec2c8ae83f2ff57397f8e451
parent76ea485d9edb781328e307c68b1f878d933408e5
wireguard.cgi: Normalize filenames

This is because Windows clients won't import any configurations that
have spaces in the filename. Therefore we replace it and remove anything
else unwanted on the way.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/header.pl
html/cgi-bin/wireguard.cgi