summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2009-08-11 21:00:51 +0800
committerJeffery To <jeffery.to@gmail.com>2009-08-11 21:00:51 +0800
commitfedadd5c5ba52a5a05cf1f621f38ed33807a2c71 (patch)
tree695b3d45338aff81be9d7cb73c4763048948de90
parent4d37e919ec761a1160bca9a2e204b68745376455 (diff)
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.
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 980b9881b..214f92245 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';