summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-04-10 13:55:30 +0200
committerVincent Petry <pvince81@owncloud.com>2014-04-10 13:55:30 +0200
commit9bc463de6e5ef5a811bc5d2b7de4889a7d718b2a (patch)
treea22ae643b3ab516c90596c31cce519355c478ce4
parente20d23e18b5547fffe04745891683b951de8d54f (diff)
parentdffcf9ff40c8829cab3dff1cd8add95e80fc0f4f (diff)
downloadnextcloud-server-9bc463de6e5ef5a811bc5d2b7de4889a7d718b2a.tar.gz
nextcloud-server-9bc463de6e5ef5a811bc5d2b7de4889a7d718b2a.zip
Merge pull request #8005 from owncloud/files-fixie8upload
[stable5] 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']) ?>" />