? ascii96_reduction.patch
? forum_feed_aliasing_uses_tax.patch
Index: pathauto.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.inc,v
retrieving revision 1.1.2.14
diff -u -p -r1.1.2.14 pathauto.inc
--- pathauto.inc	2 Nov 2007 14:55:41 -0000	1.1.2.14
+++ pathauto.inc	2 Nov 2007 15:29:27 -0000
@@ -112,6 +112,12 @@ function pathauto_cleanstring($string, $
     $output = strtr($output, $translations);
   }
 
+  // Reduce to the subset of ASCII128 letters and numbers
+  if (variable_get('pathauto_reduce_ascii', FALSE)) { 
+    $pattern = '/[^a-zA-Z0-9\/]+/ ';
+    $output = preg_replace($pattern, $separator, $output);
+  }
+
   // Get rid of words that are on the ignore list
   $ignore_re = "\b". preg_replace("/,/", "\b|\b", variable_get('pathauto_ignore_words', $ignore_words)) ."\b";
   $output = preg_replace("/$ignore_re/ie", "", $output);
Index: pathauto.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.module,v
retrieving revision 1.44.4.46
diff -u -p -r1.44.4.46 pathauto.module
--- pathauto.module	29 Oct 2007 18:49:58 -0000	1.44.4.46
+++ pathauto.module	2 Nov 2007 15:29:29 -0000
@@ -165,13 +165,18 @@ function pathauto_admin_settings() {
     // Perhaps they've removed the file, set the transliterate option to FALSE
     variable_set('pathauto_transliterate', FALSE);
   }
-  
   $form["general"]["pathauto_transliterate"] = array('#type' => 'checkbox',
     '#title' => t('Transliterate prior to creating alias'),
     '#default_value' => variable_get('pathauto_transliterate', FALSE),
     '#description' => t($transliteration_help),
     '#disabled' => $disable_transliteration,
   );
+  $form["general"]["pathauto_reduce_ascii"] = array('#type' => 'checkbox',
+    '#title' => t('Reduce strings to letters and numbers from ASCII-96'),
+    '#default_value' => variable_get('pathauto_reduce_ascii', FALSE),
+    '#description' => t("Filters the new alias to only letters and numbers found in the ASCII-96 set."),
+  );
+
 
   $form["general"]["pathauto_ignore_words"] = array('#type' => 'textarea',
     '#title' => t('Strings to Remove'), '#default_value' => variable_get('pathauto_ignore_words', implode(",", $ignore_words)),
