Changeset 19233


Ignore:
Timestamp:
2009-04-23T15:16:53+12:00 (15 years ago)
Author:
ak19
Message:

Making the GLI rename option work for the remote case (move_collection_file action in gliserver).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/cgi-bin/gliserver.pl

    r19189 r19233  
    619619    $gsdl_cgi->generate_error("Collection configurations zip file $zip_file_path could not be created.");
    620620    }
    621 
     621   
    622622    &put_file($gsdl_cgi, $zip_file_path, "application/zip");
    623623    unlink("$zip_file_path") unless $debugging_enabled;
     
    884884    $gsdl_cgi->generate_error("No source file specified.");
    885885    }
     886    $source_file = $gsdl_cgi->decode($source_file);
    886887    $source_file =~ s/\|/&util::get_dirsep()/eg;  # Convert the '|' characters into whatever is right for this OS
    887888    my $target_file = $gsdl_cgi->clean_param("target");
     
    889890    $gsdl_cgi->generate_error("No target file specified.");
    890891    }
     892    $target_file = $gsdl_cgi->decode($target_file);
    891893    $target_file =~ s/\|/&util::get_dirsep()/eg;  # Convert the '|' characters into whatever is right for this OS
    892894
Note: See TracChangeset for help on using the changeset viewer.