Changeset 1115:2b3f369c6456
- Timestamp:
- 03/13/13 15:21:17 (12 years ago)
- Branch:
- 2.5
- Location:
- inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/load_plugin_file.php
r270 r1115 47 47 } 48 48 49 // Prevents XSS vulnerabilities in swfupload.swf 50 if (((isset($_GET['buttonText']) && strpos($_GET['buttonText'],'<') !== false) || 51 (isset($_GET['movieName']) && strpos($_GET['movieName'],';') !== false)) && 52 strpos($_GET['pf'],'swfupload.swf') !== false) { 53 { 54 header('Content-Type: text/plain'); 55 http::head(403,'Forbidden'); 56 exit; 57 } 58 } 59 49 60 $allow_types = array('png','jpg','jpeg','gif','css','js','swf'); 50 61
Note: See TracChangeset
for help on using the changeset viewer.