1
0
Fork 0

fix wrong http auth realm quoting

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@376 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2007-05-05 11:05:39 +00:00
parent 717946df09
commit 678806fda7
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -1,6 +1,7 @@
2.0.0 2007-?-?
== NEWS ==
== ChangeLog ==
* wrong http auth realm
* #86: remove/edit variable in admin page
* fixed #77: hits/misses was not updated
* fixed #56: xcache_set segfaults when xcache.var_size=0

View File

@ -1784,7 +1784,7 @@ static int xcache_admin_auth_check(TSRMLS_D) /* {{{ */
}
}
#define STR "WWW-authenticate: basic realm='XCache Administration'"
#define STR "WWW-authenticate: Basic Realm=\"XCache Administration\""
sapi_add_header_ex(STR, sizeof(STR) - 1, 1, 1 TSRMLS_CC);
#undef STR
#define STR "HTTP/1.0 401 Unauthorized"