[wp-trac] [WordPress Trac] #6465: tempnam() has been disabled for security reason

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 30 10:46:48 GMT 2008


#6465: tempnam() has been disabled for security reason
----------------------------+-----------------------------------------------
 Reporter:  DD32            |       Owner:  anonymous  
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  2.5.1      
Component:  Administration  |     Version:  2.5        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------
 http://wordpress.org/support/topic/164139?replies=1

 > OK, this might not be a WordPress problem exactly, but maybe someone
 could help me.

 > When I click the auto-update option for plugins, the page displays:

 > Warning: tempnam() has been disabled for security reasons in /****/wp-
 admin/includes/file.php on line 316

 > Is there a way to fix it?

 Appears some hosts disable tempnam() all together, Might be worth simply
 using basename($url) as the filename in the upgrade folder.

 It causes the plugin auto upgrade to fail.

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


More information about the wp-trac mailing list