Doc #70196 [Asn->Csd]: curl_setopt for CURLOPT_CAINFO does NOT require an absolute path

From: Date: Thu, 27 Aug 2015 17:56:57 +0000
Subject: Doc #70196 [Asn->Csd]: curl_setopt for CURLOPT_CAINFO does NOT require an absolute path
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12673@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70196&edit=1 ID: 70196 Updated by: cmb@php.net Reported by: beanland2 at gmail dot com Summary: curl_setopt for CURLOPT_CAINFO does NOT require an absolute path -Status: Assigned +Status: Closed Type: Documentation Problem Package: cURL related Operating System: Ubuntu 14.10 PHP Version: 5.5.27 Assigned To: cmb Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2015-08-27 17:56:34] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&revision=337649 Log: CURLOPT_CAINFO may also accept relative paths (fixes #70196) ------------------------------------------------------------------------ [2015-08-27 17:53:26] cmb@php.net The note that an absolute path is required has been added as fix for bug #53781, so a relative may or may not work. ------------------------------------------------------------------------ [2015-08-05 19:40:28] beanland2 at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.curl-setopt --- The command below works perfectly fine on my system, but the documentation says the CURLOPT_CAINFO requires an absolute URL curl_setopt($ch, CURLOPT_CAINFO, '../../cert.pem'); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70196&edit=1

« previous php.doc.bugs (#12673) next »