Changeset 46501 for branches/4.1/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 07:16:30 PM (6 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/4.1/src/wp-includes/functions.php
r44007 r46501 1492 1492 if ( file_exists( $target ) ) 1493 1493 return @is_dir( $target ); 1494 1495 // Do not allow path traversals. 1496 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1497 return false; 1498 } 1494 1499 1495 1500 // 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.