php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70180 Breaking CURL change in PHP 5.6 not mentioned
Submitted: 2015-07-31 21:44 UTC Modified: 2015-08-01 12:24 UTC
From: phpbugs at lumental dot com Assigned: cmb (profile)
Status: Closed Package: cURL related
PHP Version: 5.6.11 OS:
Private report: No CVE-ID: None
 [2015-07-31 21:44 UTC] phpbugs at lumental dot com
Description:
------------
Regarding this page:

http://www.php.net/migration56.incompatible

The page should mention that CURLOPT_SAFE_UPLOAD is now TRUE by default.  This is a breaking change that broke one of our services after we upgraded to PHP 5.6.11.

To verify that CURLOPT_SAFE_UPLOAD is now TRUE, starting in PHP 5.6, see this page:

http://ca2.php.net/manual/en/function.curl-setopt.php

Note that this page also has an error, because it says CURL_SAFE_UPLOAD when it should say CURLOPT_SAFE_UPLOAD.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-01 11:59 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2015-08-01 12:23 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=337270
Log: improved CURLOPT_SAFE_UPLOAD documentation (fixes #70180)
 [2015-08-01 12:24 UTC] cmb@php.net
-Status: Verified +Status: Closed -Package: Documentation problem +Package: cURL related
 [2015-08-01 12:24 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 14:01:33 2024 UTC