Changeset 46503 for branches/3.9/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 07:26:08 PM (6 years ago)
- File:
-
- 1 edited
-
branches/3.9/src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9/src/wp-includes/functions.php
r44010 r46503 1420 1420 if ( file_exists( $target ) ) 1421 1421 return @is_dir( $target ); 1422 1423 // Do not allow path traversals. 1424 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1425 return false; 1426 } 1422 1427 1423 1428 // We need to find the permissions of the parent folder that exists and inherit that.
Note: See TracChangeset
for help on using the changeset viewer.