Added opensearch to the list of public actions.
IE7+ will ask for this (opensearch/people and opensearch/notice) on every page access, and as the content is not sensitive, returning it is better than a 307 redirect.
This commit is contained in:
parent
4d37e919ec
commit
fedadd5c5b
|
@ -184,7 +184,8 @@ function main()
|
|||
|
||||
if (!$user && common_config('site', 'private')) {
|
||||
$public_actions = array('openidlogin', 'finishopenidlogin',
|
||||
'recoverpassword', 'api', 'doc');
|
||||
'recoverpassword', 'api', 'doc',
|
||||
'opensearch');
|
||||
$login_action = 'openidlogin';
|
||||
if (!common_config('site', 'openidonly')) {
|
||||
$public_actions[] = 'login';
|
||||
|
|
Loading…
Reference in New Issue
Block a user