php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70196 curl_setopt for CURLOPT_CAINFO does NOT require an absolute path
Submitted: 2015-08-05 19:40 UTC Modified: 2015-08-27 17:56 UTC
From: beanland2 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: cURL related
PHP Version: 5.5.27 OS: Ubuntu 14.10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: beanland2 at gmail dot com
New email:
PHP Version: OS:

 

 [2015-08-05 19:40 UTC] 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');


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-27 17:53 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2015-08-27 17:53 UTC] 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-27 17:56 UTC] 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:56 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2015-08-27 17:56 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: Thu May 09 21:01:31 2024 UTC