Changeset 46493 for branches/4.9/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 06:38:34 PM (7 years ago)
- File:
-
- 1 edited
-
branches/4.9/src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9/src/wp-includes/functions.php
r43989 r46493 1613 1613 if ( file_exists( $target ) ) 1614 1614 return @is_dir( $target ); 1615 1616 // Do not allow path traversals. 1617 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1618 return false; 1619 } 1615 1620 1616 1621 // 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.