[wp-trac] Re: [WordPress Trac] #7211: Problems with media uploader

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 1 10:23:25 GMT 2008


#7211: Problems with media uploader
----------------------------+-----------------------------------------------
 Reporter:  pishmishy       |        Owner:  pishmishy
     Type:  defect          |       Status:  assigned 
 Priority:  normal          |    Milestone:  2.7      
Component:  Administration  |      Version:  2.5.1    
 Severity:  normal          |   Resolution:           
 Keywords:  mediauploader   |  
----------------------------+-----------------------------------------------
Comment (by pishmishy):

 (sensibly formatted this time) Prior to wp_handle_upload():
 {{{
 File_ID = async-upload
 name = lolcat.jpg tmp_name = /tmp/phpul5Gxa
 }}}

 Results of wp_handle_upload()
 {{{
 filename =
 /../../../../../../../../../../../../../../../../../tmp/lolcat6.jpg
 URL =
 http://www.theblog.org.uk/blog//../../../../../../../../../../../../../../../../../tmp/lolcat6.jpg
 }}}
 Looks like it's not determining the upload location correctly for some
 reason.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7211#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list