aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-11 19:20:48 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-11 19:20:48 +0200
commit6defbc7f4d2573178ccf1b157e6ac37aa1db41d4 (patch)
treec1e6b9e7de2c287d37492c3983a5ccca17634de8 /apps/files/templates
parent2b22c538c8cafafedb057947ff90abb5d219c903 (diff)
downloadnextcloud-server-6defbc7f4d2573178ccf1b157e6ac37aa1db41d4.tar.gz
nextcloud-server-6defbc7f4d2573178ccf1b157e6ac37aa1db41d4.zip
Removed some unessecary sanitizations
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 3bd5a1ceef4..44000171a17 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -15,7 +15,7 @@
<form data-upload-id='1' class="file_upload_form" action="<?php echo OCP\Util::linkTo('files', 'ajax/upload.php'); ?>" method="post" enctype="multipart/form-data" target="file_upload_target_1">
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload">
<input type="hidden" class="max_human_file_size" value="(max <?php echo $_['uploadMaxHumanFilesize']; ?>)">
- <input type="hidden" name="dir" value="<?php echo htmlentities($_['dir'],ENT_COMPAT,'utf-8') ?>" id="dir">
+ <input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir">
<button class="file_upload_filename">&nbsp;<img class='svg action' alt="Upload" src="<?php echo OCP\image_path("core", "actions/upload-white.svg"); ?>" /></button>
<input class="file_upload_start" type="file" name='files[]'/>
<a href="#" class="file_upload_button_wrapper" onclick="return false;" title="<?php echo $l->t('Upload'); echo ' max. '.$_['uploadMaxHumanFilesize'] ?>"></a>