? 269929_Break_alias_at_word-18.patch
? 278368_notice_and_taxonomy_bug.patch
? 290988_constants_instead_of_numerics.patch
? 290988_constants_instead_of_numerics_2.patch
? 6x2x_style_tests_pathauto.patch
? feed_append_trim_naming.patch
Index: pathauto.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.inc,v
retrieving revision 1.50
diff -u -p -r1.50 pathauto.inc
--- pathauto.inc	26 Aug 2008 04:55:19 -0000	1.50
+++ pathauto.inc	10 Sep 2008 14:50:28 -0000
@@ -370,17 +370,17 @@ function pathauto_create_alias($module, 
 
   // Also create a related feed alias if requested, and if supported
   // by the module
-  if (drupal_strlen(variable_get('pathauto_'. $module .'_applytofeeds', ''))) {
-    $feedappend = variable_get('pathauto_'. $module .'_applytofeeds', '');
+  $feed_append = trim(variable_get('pathauto_'. $module .'_applytofeeds', ''));
+  if (drupal_strlen($feed_append)) {
 
     // For forums and taxonomies, the src doesn't always form the base of the rss feed (ie. image galleries)
     if ($module == 'taxonomy' || $module == 'forum') {
-      $update_data = _pathauto_existing_alias_data("taxonomy/term/$entity_id/$feedappend");
-      _pathauto_set_alias("taxonomy/term/$entity_id/$feedappend", "$alias/feed", $module, $entity_id, $update_data['pid'], $verbose, $update_data['old_alias'], $language);
+      $update_data = _pathauto_existing_alias_data("taxonomy/term/$entity_id/$feed_append");
+      _pathauto_set_alias("taxonomy/term/$entity_id/$feed_append", "$alias/feed", $module, $entity_id, $update_data['pid'], $verbose, $update_data['old_alias'], $language);
     }
     else {
-      $update_data = _pathauto_existing_alias_data("$src/$feedappend");
-      _pathauto_set_alias("$src/$feedappend", "$alias/feed", $module, $entity_id, $update_data['pid'], $verbose, $update_data['old_alias'], $language);
+      $update_data = _pathauto_existing_alias_data("$src/$feed_append");
+      _pathauto_set_alias("$src/$feed_append", "$alias/feed", $module, $entity_id, $update_data['pid'], $verbose, $update_data['old_alias'], $language);
     }
   }
 
