|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7393 HTTP-Referer is not via in curl_setopt()
Submitted: 2000-10-22 14:38 UTC Modified: 2000-10-22 14:49 UTC
From: messju at internet-factory dot de Assigned:
Status: Closed Package: cURL related
PHP Version: 4.0.3pl1 OS: any
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.
Block user comment
Status: Assign to:
Bug Type:
From: messju at internet-factory dot de
New email:
PHP Version: OS:


 [2000-10-22 14:38 UTC] messju at internet-factory dot de
curl_setopt($c,CURLOPT_USERAGENT,"some ua");
curl_setopt($c,CURLOPT_REFERER,"some reference");

should give a line like headers[Referer] = "some reference"
but does not.

Solution: add the case "case CURLOPT_REFERER:"
in php-4.0.3pl1/ext/curl/curl.c
around line 336.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-22 14:49 UTC]
Fixed in CVS. 

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Mar 04 07:01:26 2021 UTC