]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
vpnmain.cgi+ovpnmain.cgi: Fix file upload with new versions of Perl
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Oct 2019 17:11:37 +0000 (19:11 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 14 Oct 2019 18:10:20 +0000 (18:10 +0000)
commit2ad1b18bdb9558521441de2596556580c9d9ac8f
tree6c7659bb02e868bbcc002f35a4286cbcae81c89c
parent0fb42e01c576d55e5954cd1ff19d8e3fb5824d71
vpnmain.cgi+ovpnmain.cgi: Fix file upload with new versions of Perl

File uploads did not work since Perl was upgraded. This patch
fixes that problem by only checking if an object was returned
instead of performing a string comparison.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/ovpnmain.cgi
html/cgi-bin/vpnmain.cgi