Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1222
diff -u -p -r1.1222 common.inc
--- includes/common.inc	17 Sep 2010 14:53:21 -0000	1.1222
+++ includes/common.inc	21 Sep 2010 02:53:57 -0000
@@ -348,7 +348,8 @@ function drupal_get_html_head() {
  * This function can be called as long the HTML header hasn't been sent.
  *
  * @param $url
- *   A url for the feed.
+ *   The internal path of the feed. This should be a raw path; do not pass the
+ *   output of url() to this function.
  * @param $title
  *   The title of the feed.
  */
@@ -361,7 +362,7 @@ function drupal_add_feed($url = NULL, $t
     drupal_add_html_head_link(array('rel' => 'alternate',
                           'type' => 'application/rss+xml',
                           'title' => $title,
-                          'href' => $url));
+                          'href' => url($url)));
   }
   return $stored_feed_links;
 }
Index: modules/forum/forum.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/forum/forum.module,v
retrieving revision 1.575
diff -u -p -r1.575 forum.module
--- modules/forum/forum.module	7 Sep 2010 23:39:08 -0000	1.575
+++ modules/forum/forum.module	21 Sep 2010 02:53:57 -0000
@@ -982,7 +982,7 @@ function template_preprocess_forums(&$va
 
     if ($variables['tid'] && !in_array($variables['tid'], variable_get('forum_containers', array()))) {
       $variables['topics'] = theme('forum_topic_list', $variables);
-      drupal_add_feed('taxonomy/term/' . $variables['tid'] . '/0/feed', 'RSS - ' . $title);
+      drupal_add_feed('taxonomy/term/' . $variables['tid'] . '/feed', 'RSS - ' . $title);
     }
     else {
       $variables['topics'] = '';
