Changeset 46490 for branches/5.1/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 06:16:02 PM (6 years ago)
- File:
-
- 1 edited
-
branches/5.1/src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1/src/wp-includes/functions.php
r44831 r46490 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.