Changeset 58497
- Timestamp:
- 06/24/2024 03:48:13 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5/src/wp-includes/functions.php
r54560 r58497 4118 4118 */ 4119 4119 function validate_file( $file, $allowed_files = '' ) { 4120 // Normalize path for Windows servers 4121 $file = wp_normalize_path( $file ); 4122 4120 4123 if ( false !== strpos( $file, '..' ) ) 4121 4124 return 1;
Note: See TracChangeset
for help on using the changeset viewer.