? boost-936422.patch
? boost-937904.patch
Index: boost.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.admin.inc,v
retrieving revision 1.1.2.1.2.3.2.156
diff -u -p -r1.1.2.1.2.3.2.156 boost.admin.inc
--- boost.admin.inc	21 Sep 2010 17:24:31 -0000	1.1.2.1.2.3.2.156
+++ boost.admin.inc	11 Oct 2010 05:10:53 -0000
@@ -902,7 +902,7 @@ function boost_admin_boost_performance_p
   }
   elseif (!isset($best)) {
     $best = $document_root;
-    $description_extra = t('Please open an boost issue on Drupal.org, since apache and php are not configured correctly.');
+    $description_extra = t('Please !link, since apache and php might not be configured correctly.', array('!link' => l(t('open an boost issue on Drupal.org'), 'http://drupal.org/node/add/project-issue/boost')));
   }
   $description = t('Value of %best is recommended for this server.', array('%best' => $best)) . ' ' . $description_extra;
   $form['htaccess']['boost_document_root'] = array(
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.406
diff -u -p -r1.3.2.2.2.5.2.406 boost.module
--- boost.module	10 Oct 2010 05:54:07 -0000	1.3.2.2.2.5.2.406
+++ boost.module	11 Oct 2010 05:11:09 -0000
@@ -466,7 +466,7 @@ function boost_init() {
   $path = implode($base_path, $path);
   $path = explode('?', $path);
   $path = array_shift($path);
-  if ($path != '' && $_REQUEST['q'] == '' && !stristr($path, '.php') && isset($_SERVER['REDIRECT_STATUS']) && $_SERVER['REDIRECT_STATUS'] == 404) {
+  if ($path != '' && empty($_REQUEST['q']) && !stristr($path, '.php') && isset($_SERVER['REDIRECT_STATUS']) && $_SERVER['REDIRECT_STATUS'] == 404) {
     $GLOBALS['conf']['cache'] = CACHE_DISABLED;
     $GLOBALS['_boost_cache_this'] = FALSE;
 
@@ -479,13 +479,13 @@ function boost_init() {
   }
 
   //set variables
-  if (isset($_REQUEST['q'])) {
-    $GLOBALS['_boost_path'] = $_REQUEST['q'];
-  }
-  else {
+  if (empty($_REQUEST['q'])) {
     //front page
     $GLOBALS['_boost_path'] = '';
   }
+  else {
+    $GLOBALS['_boost_path'] = $_REQUEST['q'];
+  }
   // Make the proper filename for our query
   $GLOBALS['_boost_query'] = BOOST_CHAR;
   $query = array();
