projects
/
experiments
/
php-simple-upload.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
index.php: remove the sandbox attribute for the iframe element
[experiments/php-simple-upload.git]
/
index.php
diff --git
a/index.php
b/index.php
index
4353ede
..
1094135
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-1,7
+1,7
@@
<?php
/**
* @file
<?php
/**
* @file
- * php-simple-upload - simple
upload page.
+ * php-simple-upload - simple
script to upload files to the web server
*
* Copyright (C) 2017 Antonio Ospite <ao2@ao2.it>
*
*
* Copyright (C) 2017 Antonio Ospite <ao2@ao2.it>
*
@@
-81,6
+81,6
@@
if (isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] == $iframe_paren
<input type="submit" value="Upload File"/>
</form>
<input type="submit" value="Upload File"/>
</form>
-<iframe s
andbox s
rc="<?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>
Your browser does not support iframes <a href="<?php echo INCOMING_DIR; ?>">click here to view the page directly.</a>
</iframe>