summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-04-02 12:20:56 +0200
committerVincent Petry <pvince81@owncloud.com>2014-04-02 12:20:56 +0200
commitdffcf9ff40c8829cab3dff1cd8add95e80fc0f4f (patch)
tree9891854dcf9236d5ea40d5016602a2aa4ce394cc
parentb66b10b806e24b46cff608213ce849b5ffddd696 (diff)
downloadnextcloud-server-dffcf9ff40c8829cab3dff1cd8add95e80fc0f4f.tar.gz
nextcloud-server-dffcf9ff40c8829cab3dff1cd8add95e80fc0f4f.zip
Added requesttoken back for IE8
-rw-r--r--apps/files/templates/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 1735069d183..9f419abcca4 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -29,6 +29,7 @@
value="<?php p($_['uploadMaxFilesize']) ?>">
<!-- Send the requesttoken, this is needed for older IE versions
because they don't send the CSRF token via HTTP header in this case -->
+ <input type="hidden" id="requesttoken" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
<?php if(isset($_['dirToken'])):?>
<input type="hidden" id="publicUploadRequestToken" name="requesttoken" value="<?php p($_['requesttoken']) ?>" />
<input type="hidden" id="dirToken" name="dirToken" value="<?php p($_['dirToken']) ?>" />