Changeset 38534
- Timestamp:
- 09/06/2016 06:06:56 PM (8 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 38524
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-admin/includes/class-wp-upgrader.php
r27924 r38534 1603 1603 wp_die( $uploads['error'] ); 1604 1604 1605 $this->filename = $_GET[$urlholder];1605 $this->filename = sanitize_file_name( $_GET[ $urlholder ] ); 1606 1606 $this->package = $uploads['basedir'] . '/' . $this->filename; 1607 1608 if ( 0 !== strpos( realpath( $this->package ), realpath( $uploads['basedir'] ) ) ) { 1609 wp_die( __( 'Please select a file' ) ); 1610 } 1607 1611 } 1608 1612 }
Note: See TracChangeset
for help on using the changeset viewer.