fix wrong http auth realm quoting
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@376 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.0
parent
717946df09
commit
678806fda7
1
NEWS
1
NEWS
|
@ -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
|
||||
|
|
2
xcache.c
2
xcache.c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue