From: Jeffery To Date: Tue, 11 Aug 2009 13:00:51 +0000 (+0800) Subject: Added opensearch to the list of public actions. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fedadd5c5ba52a5a05cf1f621f38ed33807a2c71;p=quix0rs-gnu-social.git 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. --- diff --git a/index.php b/index.php index 980b9881b0..214f922456 100644 --- a/index.php +++ b/index.php @@ -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';