X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FCGI%2FRestore.pm;h=c9eec4806c9e5026cbd199f77b43714c0cbacc1d;hp=9c6a66be7193a664564ac9d61e3d0d144c1e84f4;hb=c2b072c9ad558447fb73fedf0cad170214b7d80e;hpb=66d662b5a21271649aad1562bd931beab0c0deb3 diff --git a/lib/BackupPC/CGI/Restore.pm b/lib/BackupPC/CGI/Restore.pm index 9c6a66b..c9eec48 100644 --- a/lib/BackupPC/CGI/Restore.pm +++ b/lib/BackupPC/CGI/Restore.pm @@ -28,7 +28,7 @@ # #======================================================================== # -# Version 3.0.0alpha, released 23 Jan 2006. +# Version 3.0.0, released 28 Jan 2007. # # See http://backuppc.sourceforge.net. # @@ -112,6 +112,7 @@ EOF # # Tell the user what options they have # + $pathHdr = decode_utf8($pathHdr); $content .= eval("qq{$Lang->{Restore_Options_for__host2}}"); if ( @hosts == 1 ) { @@ -271,6 +272,8 @@ EOF $host:/$strippedShare$f$In{hostDest}:/$strippedShareDest$targetFile EOF } + $In{shareDest} = decode_utf8($In{shareDest}); + $In{pathHdr} = decode_utf8($In{pathHdr}); my $content = eval("qq{$Lang->{Are_you_sure}}"); Header(eval("qq{$Lang->{Restore_Confirm_on__host}}"), $content); Trailer();