fix restore url escaping
authordpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Fri, 26 Aug 2005 21:43:01 +0000 (21:43 +0000)
committerdpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Fri, 26 Aug 2005 21:43:01 +0000 (21:43 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@78 8392b6e1-25fa-0310-8288-cc32f8e212ea

BUGS
lib/BackupPC/SearchLib.pm

diff --git a/BUGS b/BUGS
index 2c3ba63..e27efe6 100644 (file)
--- a/BUGS
+++ b/BUGS
@@ -1,6 +1,6 @@
 - fix URL in pager not to use JavaScript
 - share isn't transfered within pager
-- plus (+) in filenames isn't escaped when creating restore link
++ plus (+) in filenames isn't escaped when creating restore link
 + sort share-ova u drop-downu
 + fixed found_in_db
 - custom logo
index 651a107..5cc6b3d 100644 (file)
@@ -353,7 +353,7 @@ sub displayGrid($$$$) {
                        $file->{'sharename'},
                        qq{<img src="$Conf{CgiImageDirURL}/icon-$typeStr.gif" align="center">&nbsp;} . hilite_html( $file->{'fpath'}, $hilite ),
                        $typeStr,
-                       restore_link( $typeStr, $file->{'hname'}, $file->{'backupno'}, $file->{'sname'}, $file->{'fpath'}, $file->{'backupno'} ),
+                       restore_link( $typeStr, ${EscURI( $file->{'hname'} )}, $file->{'backupno'}, ${EscURI( $file->{'sname'})}, ${EscURI( $file->{'fpath'} )}, $file->{'backupno'} ),
                        $file->{'size'},
                        epoch_to_iso( $file->{'date'} ),
                        $file->{'dvd'}