]> source.dussan.org Git - nextcloud-server.git/commitdiff
Change IE8 to "older IE versions"
authorLukas Reschke <lukas@statuscode.ch>
Tue, 30 Oct 2012 16:29:26 +0000 (17:29 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Tue, 30 Oct 2012 16:29:26 +0000 (17:29 +0100)
I'm not sure if IE9 is also affected, so I changed it to "older IE versions" - IE 10 should work fine.

apps/files/templates/index.php

index a4c26c49e1c9ae1d3bec484ac90b0bc3487bac3e..f614f02b6c20ec3559155f792c13e8cc66b1251d 100644 (file)
@@ -14,7 +14,7 @@
                        <div class="file_upload_wrapper svg">
                                <form data-upload-id='1' id="data-upload-form" 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">
-                                       <!-- Send the requesttoken, this is needed for IE < 8 because it doesn't send the CSRF token -->
+                                       <!-- 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" name="requesttoken" value="<?php echo $_['requesttoken'] ?>" id="requesttoken">
                                        <input type="hidden" class="max_human_file_size" value="(max <?php echo $_['uploadMaxHumanFilesize']; ?>)">
                                        <input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir">