Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.768 diff -u -p -r1.768 common.inc --- includes/common.inc 16 May 2008 01:23:31 -0000 1.768 +++ includes/common.inc 23 May 2008 17:23:43 -0000 @@ -1435,7 +1435,7 @@ function l($text, $path, $options = arra ); // Append active class. - if ($path == $_GET['q'] || ($path == '' && drupal_is_front_page())) { + if (url($path, $options) == url($_GET['q']) || ($path == '' && drupal_is_front_page())) { if (isset($options['attributes']['class'])) { $options['attributes']['class'] .= ' active'; }