Changeset 46482
- Timestamp:
- 10/14/2019 04:12:33 PM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/src/wp-includes/functions.php
r45353 r46482 1786 1786 if ( file_exists( $target ) ) { 1787 1787 return @is_dir( $target ); 1788 } 1789 1790 // Do not allow path traversals. 1791 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1792 return false; 1788 1793 } 1789 1794
Note: See TracChangeset
for help on using the changeset viewer.