Changeset 58493
- Timestamp:
- 06/24/2024 03:43:16 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9/src/wp-includes/functions.php
r54569 r58493 4313 4313 */ 4314 4314 function validate_file( $file, $allowed_files = array() ) { 4315 // Normalize path for Windows servers 4316 $file = wp_normalize_path( $file ); 4317 4315 4318 // `../` on its own is not allowed: 4316 4319 if ( '../' === $file ) {
Note: See TracChangeset
for help on using the changeset viewer.