Changeset 58500
- Timestamp:
- 06/24/2024 03:52:18 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/src/wp-includes/functions.php
r54554 r58500 3782 3782 */ 3783 3783 function validate_file( $file, $allowed_files = '' ) { 3784 // Normalize path for Windows servers 3785 $file = wp_normalize_path( $file ); 3786 3784 3787 if ( false !== strpos( $file, '..' ) ) 3785 3788 return 1;
Note: See TracChangeset
for help on using the changeset viewer.