Changeset 58486
- Timestamp:
- 06/24/2024 03:31:44 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6/src/wp-includes/functions.php
r54555 r58486 5437 5437 */ 5438 5438 function validate_file( $file, $allowed_files = array() ) { 5439 // Normalize path for Windows servers 5440 $file = wp_normalize_path( $file ); 5441 5439 5442 // `../` on its own is not allowed: 5440 5443 if ( '../' === $file ) {
Note: See TracChangeset
for help on using the changeset viewer.