Node Title: a&b and " and c & d'
Pathgenerated: &b-and-"-and-c-&-d'
The problem is that I thought special characters were taken out by this bit of code from line 101 of pathauto.inc.
// Preserve alphanumerics, everything else becomes a separator.
$pattern = '/[^a-zA-Z0-9]+/ ';
$output = preg_replace($pattern, $separator, $output);
Comments
Comment #1
therainmakor commentedActually, I'm assuming the token module replaces special characters with HTML character entities. I replaced this code starting at line 106 of pathauto.inc
To this
This works great for me and resolved my issue.
Comment #2
therainmakor commentedActually use this code, I forgot about entities that use a number like "#039".
Comment #3
therainmakor commentedaccidentally changed the title
Comment #4
gregglesPlease see http://drupal.org/node/143831