|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-05-08 22:46 UTC] cyberscribe@php.net
Description: ------------ In the Digest example on http://php.net/features.http-auth the auth, qop, nonce, and opaque values for the WWW-Authenticate header are not separated by commas. This works fine for browsers like Firefox, but does not work when authenticating with Internet Explorer or Opera. So, for maximum compatability, be sure to separate the key/value pair elements of the WWW-Authenticate header with commas. I'm not sure what the RFCs say; I just know what works. And I think it's strange that the comment I posted with the same information was deleted -- since it could save someone like me in a similar situation a lot of pain and frustration until someone on the Doc team gets around to changing this... PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 16:00:01 2025 UTC |
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. header('WWW-Authenticate: Digest realm="'.$realm. '",qop="auth",nonce="'.uniqid().'",opaque="'.md5($realm).'"'); Authentication parameters have to be comma-separated as seen in the digest example above.