use -raw tokens or not? Fixed, but read this before submitting
kzuser - December 16, 2007 - 12:45
| Project: | Pathauto |
| Version: | 5.x-2.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | kzuser |
| Status: | closed |
Jump to:
Description
after setup it i see this
You are using the token [user] which has a -raw companion available [user-raw]. For Pathauto patterns you should use the -raw version of tokens unless you really know what you are doing. See the Pathauto help for more details.
how to fix it

#1
Please see http://groups.drupal.org/node/6706#pattern_changes for more details.
If that doesn't answer your question please followup in this issue.
#2
more descriptive title...
#3
no response as requested in comment 1 - assuming to be fixed/closed.
#4
This confused me as well. In admin/settings/pathauto under "Node path settings," it says
I instead used [title] thinking it wouldn't be "tainted" like [title-raw] might be. I was surprised by the message I saw:
But it made more sense after reading admin/help/pathauto. Does this have to do with the fact that pathauto uses the token module? Maybe the "WARNING - raw user input" line should be changed to something that implies -raw patterns are preferred over their non-raw counterparts (if I'm understanding this correctly).
I'm using version 5.x-2.0.
Thanks!
Josh
#5
Sorry, this appears to be a duplicate of http://drupal.org/node/195070.
#6
Yes - and a duplicate of several others. Basically we can't change those WARNINGS because they are relevant in some areas that the token module is used. I'm going to leave this as active so that people are more likely to see it but I don't plan on responding about it much more.
#7
#8
Automatically closed -- issue fixed for two weeks with no activity.