Changeset 18638
- Timestamp:
- 09/05/2011 04:55:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-files.php
r17922 r18638 24 24 } 25 25 26 $file = BLOGUPLOADDIR. str_replace( '..', '', $_GET[ 'file' ] );26 $file = trailingslashit( 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.