Closed (fixed)
Project:
Pathauto
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2008 at 14:30 UTC
Updated:
24 Feb 2010 at 21:30 UTC
pathauto_cleanstring already removes forward slashes, with the (in this case) more efficient str_replace function.
This patch removes the two calls to preg_replace in the function pathauto_token_values when generating values for the taxonomy tokens [catpath] and [catpath-raw].
| Comment | File | Size | Author |
|---|---|---|---|
| pathauto-remove-preg_replace.patch | 983 bytes | Hugo Wetterberg |
Comments
Comment #1
dave reidConfirmed, this is unnecessary as the cleanstring() function does this automatically.
Comment #2
gregglesNow committed http://drupal.org/cvs?commit=326992 http://drupal.org/cvs?commit=326988 and http://drupal.org/cvs?commit=326986
Thanks, guys!