diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-28 22:27:52 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-28 22:27:52 +0200 |
commit | 22d22d19c079f54cf12a6b47981c22aa1432346d (patch) | |
tree | d7f477c28a6e8d56d2edb842a28679a97b4e88a6 /apps | |
parent | fed34aecfa5b36c031ed754ed245549aa4a4194b (diff) | |
download | nextcloud-server-22d22d19c079f54cf12a6b47981c22aa1432346d.tar.gz nextcloud-server-22d22d19c079f54cf12a6b47981c22aa1432346d.zip |
Do urlencoding in linkTo functions
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_versions/templates/history.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/templates/history.php b/apps/files_versions/templates/history.php index 99bc153a816..854d032da62 100644 --- a/apps/files_versions/templates/history.php +++ b/apps/files_versions/templates/history.php @@ -22,7 +22,7 @@ if( isset( $_['message'] ) ) { foreach ( $_['versions'] as $v ) { echo ' '; echo OCP\Util::formatDate( doubleval($v['version']) ); - echo ' <a href="'.OCP\Util::linkTo('files_versions', 'history.php', array('path' => urlencode( $_['path'] ), 'revert' => $v['version'])) .'" class="button">Revert</a><br /><br />'; + echo ' <a href="'.OCP\Util::linkTo('files_versions', 'history.php', array('path' => $_['path'], 'revert' => $v['version'])) .'" class="button">Revert</a><br /><br />'; if ( $v['cur'] ) { echo ' (<b>Current</b>)'; } echo '<br /><br />'; } |