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

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 21 03:09:47 GMT 2009


#10224: wptempnam() returns odd filenames when urls have parameters
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  dd32                  
     Type:  enhancement        |      Status:  new                   
 Priority:  low                |   Milestone:  2.9                   
Component:  Filesystem         |     Version:                        
 Severity:  minor              |    Keywords:  has-patch needs-review
-------------------------------+--------------------------------------------

Comment(by dd32):

 > attachment 10224.2.diff added
  * My version of the patch
  * Uses the .tmp file extension
  * Converts 'http://./.../test.php?test' to 'test.tmp'
  * Converts 'file.zip' to 'file.tmp'

 > not much difference in practice, it's just ugly in the wp-content
 folder.
 The temporary files should be deleted from the wp-content folder as well,
 So the end user shouldnt really ever see it..

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


More information about the wp-trac mailing list