Changeset 46504 for branches/3.8/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 07:29:52 PM (6 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/3.8/src/wp-includes/functions.php
r44011 r46504 1361 1361 if ( file_exists( $target ) ) 1362 1362 return @is_dir( $target ); 1363 1364 // Do not allow path traversals. 1365 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1366 return false; 1367 } 1363 1368 1364 1369 // 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.