Changeset 6521
- Timestamp:
- 12/29/07 03:14:53 (5 months ago)
- Files:
-
- branches/2.3/wp-admin/includes/file.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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;
