]> git.p6c8.net - devedit.git/blobdiff - devedit.pl
- Fixed a bug occuring if the "curdir" CGI parameter had no trailing slash and
[devedit.git] / devedit.pl
index 4ddc9e1a3c04dbf2d2a92a0fa82c3faf1a9a7c17..ee4f5fc09011133b3773f771ab7c1de78773b281 100644 (file)
@@ -60,7 +60,7 @@ my $new_virtual  = '';
 if($newfile ne '' && $newfile !~ /^\s+$/)
 {
  $curdir  = upper_path($file) if($curdir eq '');
- my $path = $curdir.$newfile;
+ my $path = $curdir.'/'.$newfile;
 
  # Extract file and directory name...
 

patrick-canterino.de