Changeset 46498 for branches/4.4/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 07:08:52 PM (7 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/4.4/src/wp-includes/functions.php
r43995 r46498 1580 1580 if ( file_exists( $target ) ) 1581 1581 return @is_dir( $target ); 1582 1583 // Do not allow path traversals. 1584 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1585 return false; 1586 } 1582 1587 1583 1588 // 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)