Is it possible to filter datas before to fill form with urldecode() php function ?
In urlfill.module line 103:
replace :
$form['title']['#default_value'] = $urlcontent;
by :
$form['title']['#default_value'] = urldecode($urlcontent);
and line 107 body_field
and cck field also
This is very interesting to extract informations from external sites
You may define an option to filter or not field.
Thanks a lot
Comments
Comment #1
phayes commentedI'm using $_GET to grab the url data, after a little digging, I see is already decoded.
See http://php.net/manual/en/function.urldecode.php
If you find that somehow things are not getting decoded as you expect, please re-open with specifics and we will see if we can figure it out.