From: Antonio Ospite <ao2@ao2.it>
Date: Wed, 31 May 2017 14:06:41 +0000 (+0200)
Subject: index.php: remove the sandbox attribute for the iframe element
X-Git-Url: https://git.ao2.it/experiments/php-simple-upload.git/commitdiff_plain/99835b1b752717e8536b09e7ff4a7e7a7206a262

index.php: remove the sandbox attribute for the iframe element
---

diff --git a/index.php b/index.php
index 54eb636..1094135 100644
--- a/index.php
+++ b/index.php
@@ -81,6 +81,6 @@ if (isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] == $iframe_paren
   <input type="submit" value="Upload File"/>
 </form>
 
-<iframe sandbox src="<?php echo INCOMING_DIR; ?>" height="100%" width="100%" frameborder="0">
+<iframe src="<?php echo INCOMING_DIR; ?>" height="100%" width="100%" frameborder="0">
   Your browser does not support iframes <a href="<?php echo INCOMING_DIR; ?>">click here to view the page directly.</a>
 </iframe>