Changeset 58491
- Timestamp:
- 06/24/2024 03:40:52 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1/src/wp-includes/functions.php
r54570 r58491 4791 4791 */ 4792 4792 function validate_file( $file, $allowed_files = array() ) { 4793 // Normalize path for Windows servers 4794 $file = wp_normalize_path( $file ); 4795 4793 4796 // `../` on its own is not allowed: 4794 4797 if ( '../' === $file ) {
Note: See TracChangeset
for help on using the changeset viewer.