php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9131 PHP_AUTH* empty with Caudium
Submitted: 2001-02-06 11:47 UTC Modified: 2001-12-03 14:07 UTC
From: david dot gourdelier at iteam dot org Assigned:
Status: Closed Package: Other web server
PHP Version: 4.0 Latest CVS (06/02/2001) OS: Linux
Private report: No CVE-ID: None
 [2001-02-06 11:47 UTC] david dot gourdelier at iteam dot org
from sapi/caudium.c :
 /* FIXME: Check for auth stuff needs to be fixed... */
  SG(request_info).auth_user = NULL;
  SG(request_info).auth_password = NULL;

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-27 05:27 UTC] sander@php.net
I think this has been fixed. You can try the latest stable build (4.0.6) or the latest RC (http://download.php.net/~zeev/php-4.1.0RC3.tar.gz)
 [2001-11-27 05:29 UTC] derick@php.net
It's not fixed. There are no references to auth_user in that file.

Derick
 [2001-11-27 05:32 UTC] derick@php.net
Can you possibly send a patch, or where this code needs to be added. I don't have access to Caudium here.

Derick
 [2001-12-03 14:07 UTC] derick@php.net
User reports:

This is actually fixed (I tried to submit a change to the bug form but
can't remember login info). That said, the following code is used:

  php_handle_auth_data(lookup_string_header("HTTP_AUTHORIZATION", NULL),
TSRMLS_C);

I.e I let PHP4 do the decoding of the auth as opposed to setting it manually.


Closing

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC