[wp-trac] [WordPress Trac] #10224: wptempnam() returns odd filenames when urls have parameters

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 20 10:59:24 GMT 2009


#10224: wptempnam() returns odd filenames when urls have parameters
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  dd32          
     Type:  enhancement        |      Status:  new           
 Priority:  low                |   Milestone:  Future Release
Component:  Filesystem         |     Version:                
 Severity:  minor              |    Keywords:  needs-patch   
-------------------------------+--------------------------------------------
 it still works fine, but...

 {{{
 var_dump(wp_tempnam('http://foo.com/bar.zip?foo=bar&foo2=bar2'));
 // /path/to/wp-content/bar.zipfoobarfoo2bar2
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10224>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list