Changeset 58492
- Timestamp:
- 06/24/2024 03:42:14 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/functions.php
r54571 r58492 4348 4348 */ 4349 4349 function validate_file( $file, $allowed_files = array() ) { 4350 // Normalize path for Windows servers 4351 $file = wp_normalize_path( $file ); 4352 4350 4353 // `../` on its own is not allowed: 4351 4354 if ( '../' === $file ) {
Note: See TracChangeset
for help on using the changeset viewer.