Re: [RFC] Fixing insecure cURL file uploading

From: Date: Mon, 07 Jan 2013 06:42:12 +0000
Subject: Re: [RFC] Fixing insecure cURL file uploading
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> Couldn’t CurlFile extend SplFileInfo? Otherwise it looks good.

I don't see much reason for that. They are very different classes -
CurlFile is not meant to provide information about the file, just keep
the name, MIME type, etc. So most of the SplFileInfo API will be useless
there.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (14 messages)

« previous php.internals (#64627) next »