It would be easier to translate the strings if this phrase isn't in half of all the module strings. We can easily check if -raw is in the token name and add the string ourselves in token_get_list(). Any strings that are raw and and don't use the -raw suffix will need to add their own warnings.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 819110-token-raw-warning.patch | 10.15 KB | dave reid |
Comments
Comment #1
dave reidAttached patch checks if the token ends with -raw, doesn't already contain the phrase 'raw user input', and if it's not a UNIX timestamp [date]-raw token which should not have a warning put on it.
Comment #2
dave reidCommitted to CVS.
http://drupal.org/cvs?commit=375788