Bug #1699: Header adds extra info to auth realm.
| From: | matt at cowboyz dot com | Date: | Tue, 13 Jul 1999 01:14:11 +0000 |
| Subject: | Bug #1699: Header adds extra info to auth realm. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8427@lists.php.net to get a copy of this message | ||
From: matt@cowboyz.com
Operating system: Slackware Linux 3.6
PHP version: 3.0.9
PHP Bug Type: Misbehaving function
Bug description: Header adds extra info to auth realm.
When "php3_safe_mode = On" is set, and you do something like this:
Header("HTTP/1.0 401 Unauthorized");
Header("WWW-Authenticate: Basic realm=\"Test\"");
Your realm gets reported as "1000 Test". If you disable php3_safe_mode, this won't
happen.