[Pkg-owncloud-commits] [owncloud] 32/55: Added requesttoken back for IE8
David Prévot
taffit at moszumanska.debian.org
Wed Apr 23 19:51:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v5.0.16RC1
in repository owncloud.
commit dffcf9ff40c8829cab3dff1cd8add95e80fc0f4f
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Wed Apr 2 12:20:56 2014 +0200
Added requesttoken back for IE8
---
apps/files/templates/index.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 1735069..9f419ab 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']) ?>" />
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list