Fixes bug 45747. Proxy auth does not handle multiple Proxy-Authenticate

headers.  Causes problems with MS proxy server II.  Patch supplied by
Brandon_Stewart@circuitcity.com.  r=darin, sr=mscott.
This commit is contained in:
darin%netscape.com 2000-11-21 01:14:50 +00:00
Родитель a25dc0ab23
Коммит ba83ab4885
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -157,7 +157,8 @@ nsresult nsHTTPHeaderArray::SetHeader(nsIAtom* aHeader,
//
else if (IsHeaderMultiple(aHeader)) {
if (nsHTTPAtoms::Set_Cookie == aHeader ||
nsHTTPAtoms::WWW_Authenticate == aHeader) {
nsHTTPAtoms::WWW_Authenticate == aHeader ||
nsHTTPAtoms::Proxy_Authenticate == aHeader) {
// special case these headers and use a newline
// delimiter to delimit the cookies from one another
// we can't use the standard comma because there