Changeset 58489
- Timestamp:
- 06/24/2024 03:37:34 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3/src/wp-includes/functions.php
r54562 r58489 5105 5105 */ 5106 5106 function validate_file( $file, $allowed_files = array() ) { 5107 // Normalize path for Windows servers 5108 $file = wp_normalize_path( $file ); 5109 5107 5110 // `../` on its own is not allowed: 5108 5111 if ( '../' === $file ) {
Note: See TracChangeset
for help on using the changeset viewer.