Changeset 6521
- Timestamp:
- 12/29/2007 03:14:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/wp-admin/includes/file.php
r6116 r6521 44 44 45 45 function validate_file( $file, $allowed_files = '' ) { 46 if ( false !== strpos( $file, '..' )) 47 return 1; 48 46 49 if ( false !== strpos( $file, './' )) 47 50 return 1;
Note: See TracChangeset
for help on using the changeset viewer.