Changeset 46476
- Timestamp:
- 10/14/2019 03:29:25 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r46451 r46476 1922 1922 if ( file_exists( $target ) ) { 1923 1923 return @is_dir( $target ); 1924 } 1925 1926 // Do not allow path traversals. 1927 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1928 return false; 1924 1929 } 1925 1930
Note: See TracChangeset
for help on using the changeset viewer.