Changeset 18642
- Timestamp:
- 09/06/2011 03:41:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-files.php
r18638 r18642 24 24 } 25 25 26 $file = trailingslashit( BLOGUPLOADDIR ). str_replace( '..', '', $_GET[ 'file' ] );26 $file = rtrim( BLOGUPLOADDIR, '/' ) . '/' . str_replace( '..', '', $_GET[ 'file' ] ); 27 27 if ( !is_file( $file ) ) { 28 28 status_header( 404 );
Note: See TracChangeset
for help on using the changeset viewer.