[wp-trac] [WordPress Trac] #12756: WPMU does not handle files with two or more dots in the filename

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 23 09:57:10 UTC 2011


#12756: WPMU does not handle files with two or more dots in the filename
---------------------------------------------+-----------------------------
 Reporter:  Namely                           |       Owner:  wpmuguru
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  normal                           |   Milestone:  Future Release
Component:  Upload                           |     Version:  3.2.1
 Severity:  minor                            |  Resolution:
 Keywords:  multisite has-patch needs-patch  |
---------------------------------------------+-----------------------------
Changes (by Namely):

 * keywords:  multisite has-patch => multisite has-patch needs-patch
 * version:  2.9.2 => 3.2.1


Comment:

 We are using:

 {{{
 $file = BLOGUPLOADDIR . str_replace( '../', '', $_GET[ 'file' ] );
 }}}

 If would be nice to have it in the next release, not to hack the code each
 time we run an upgrade.

 Thank you.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12756#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list