X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/cce599a39987c9c15d4afcb771e377ea4df31ac6..c8496a44e9c8ddc16f470ce2d52983e5531f77c7:/devedit.pl?ds=sidebyside diff --git a/devedit.pl b/devedit.pl index 13f71ee..cf4ea19 100644 --- a/devedit.pl +++ b/devedit.pl @@ -6,7 +6,7 @@ # Dev-Editor's main program # # Author: Patrick Canterino -# Last modified: 2004-07-04 +# Last modified: 2004-10-04 # use strict; @@ -50,7 +50,7 @@ my $newfile = $cgi->param('newfile') || ''; my $new_physical = ''; my $new_virtual = ''; -if($newfile ne '') +if($newfile ne '' && $newfile !~ /^\s+$/) { $curdir = upper_path($file) if($curdir eq ''); my $path = clean_path($curdir.$newfile);