? views-Drupal-6--2_558602_drupal_urlencode.patch
? views-Drupal-6--2_558602_drupal_urlencode_comment.patch
Index: theme/theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/theme/theme.inc,v
retrieving revision 1.84.2.11
diff -u -p -r1.84.2.11 theme.inc
--- theme/theme.inc	25 Mar 2010 20:25:28 -0000	1.84.2.11
+++ theme/theme.inc	7 Apr 2010 13:37:30 -0000
@@ -256,7 +256,9 @@ function template_preprocess_views_view_
 
     $vars['rows'][$id]->url = url($view->get_url($args), $url_options);
     $vars['rows'][$id]->count = intval($row->{$argument->count_alias});
-    if ($vars['rows'][$id]->url == base_path() . $_GET['q'] || $vars['rows'][$id]->url == base_path() . drupal_get_path_alias($_GET['q'])) {
+    // Encode the requested path to match the summary link path, which has been drupal_urlencoded in url()
+    if ($vars['rows'][$id]->url == drupal_urlencode(base_path() . $_GET['q']) 
+    	|| $vars['rows'][$id]->url == drupal_urlencode(base_path() . drupal_get_path_alias($_GET['q']))) {
       $vars['classes'][$id] = 'active';
     }
   }
@@ -289,7 +291,9 @@ function template_preprocess_views_view_
 
     $vars['rows'][$id]->url = url($view->get_url($args), $url_options);
     $vars['rows'][$id]->count = intval($row->{$argument->count_alias});
-    if ($vars['rows'][$id]->url == base_path() . $_GET['q'] || $vars['rows'][$id]->url == base_path() . drupal_get_path_alias($_GET['q'])) {
+    // Encode the requested path to match the summary link path, which has been drupal_urlencoded in url()
+    if ($vars['rows'][$id]->url == drupal_urlencode(base_path() . $_GET['q']) 
+    	|| $vars['rows'][$id]->url == drupal_urlencode(base_path() . drupal_get_path_alias($_GET['q']))) {
       $vars['classes'][$id] = 'active';
     }
   }
