Re: ext/curl safe_upload is changed
| From: | Stas Malyshev | Date: | Fri, 09 May 2014 06:52:35 +0000 |
| Subject: | Re: ext/curl safe_upload is changed | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74082@lists.php.net to get a copy of this message | ||
Hi!
> I noticed that this change :
> https://github.com/php/php-src/commit/24447dca
>
> it has broken some tests in ext/curl... did you run make test before?
Which tests? AFAIK the tests on Travis include curl, and they are green.
> Anyway, the current behavior is silent return if the codes uses
> old upload style("@filename");
What you mean by silent return? If unsafe upload is not turned on,
@filename is just a variable like any other.
> I think it's better to throw a warning or something error about that....
I don't think so. "@filename" is a string like any others, there's no
reason to throw warnings on legitimate upload values.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227