Changeset 58570 for trunk/src/wp-includes/functions.php
- Timestamp:
- 06/25/2024 02:17:48 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r58470 r58570 6200 6200 } 6201 6201 6202 // Normalize path for Windows servers 6202 // Normalize path for Windows servers. 6203 6203 $file = wp_normalize_path( $file ); 6204 // Normalize path for $allowed_files as well so it's an apples to apples comparison. 6205 $allowed_files = array_map( 'wp_normalize_path', $allowed_files ); 6204 6206 6205 6207 // `../` on its own is not allowed:
Note: See TracChangeset
for help on using the changeset viewer.