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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Mon May 20 14:01:34 2024 UTC