Changeset 58501
- Timestamp:
- 06/24/2024 03:53:27 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1/src/wp-includes/functions.php
r54552 r58501 3769 3769 */ 3770 3770 function validate_file( $file, $allowed_files = '' ) { 3771 // Normalize path for Windows servers 3772 $file = wp_normalize_path( $file ); 3773 3771 3774 if ( false !== strpos( $file, '..' ) ) 3772 3775 return 1;
Note: See TracChangeset
for help on using the changeset viewer.