Re: Bug #9131 Updated: PHP_AUTH* empty with Caudium
| From: | David Hedbor | Date: | Mon, 03 Dec 2001 18:56:37 +0000 |
| Subject: | Re: Bug #9131 Updated: PHP_AUTH* empty with Caudium | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72363@lists.php.net to get a copy of this message | ||
derick@php.net writes:
> ID: 9131
> Updated by: derick
> Reported By: david.gourdelier@iteam.org
> Old Status: Open
> Status: Feedback
> Bug Type: Other web server
> Operating System: Linux
> PHP Version: 4.0 Latest CVS (06/02/2001)
> New Comment:
>
> Can you possibly send a patch, or where this code needs to be added. I don't have access
> to Caudium here.
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.
>
> Derick
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2001-11-27 05:29:46] derick@php.net
>
> It's not fixed. There are no references to auth_user in that file.
>
> Derick
>
> ------------------------------------------------------------------------
>
> [2001-11-27 05:27:13] 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-02-06 11:47:52] david.gourdelier@iteam.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;
>
> ------------------------------------------------------------------------
>
> Edit this bug report at http://bugs.php.net/?id=9131&edit=1
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
[ Below is a random fortune, which is unrelated to the above message. ]
The question of whether computers can think is just like the question of
whether submarines can swim.
-- Edsger W. Dijkstra