Closed (fixed)
Project:
Prepopulate
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2009 at 18:00 UTC
Updated:
29 Jan 2010 at 20:40 UTC
Drupal's url() is changing the '[' to %3 ... and breaking the prepopulate urls. Any ideas on what to do about this?
Thanks for a great module.
Comments
Comment #1
lelizondo commentedin my case it breaks the '?' and the '=' it changes them to %3F.. still don't know how to solve this.
Comment #2
bentonboomslang commentedThis is happening with me too.
Surely others must have solved this...
Thanks,
Ben
Comment #3
lelizondo commentedI'm using this code to prepopulate a field:
In this case using
array('query' ...solved the mystery.Comment #4
bentonboomslang commentedThis worked tremendously.
Thanks a lot lelinzondob.
Ben
Comment #5
jbrauer commentedComment #7
tpainton commentedIs there another way to do this.. It seems to be my problem as well. I am using computed field to generate a url that should prepopulate but the ampersand is getting turned into
%26and once this happens, the link no longer works.It seems this solution works, but I am not sure how to modify it to my needs. Seems like prepopulate should do this for you? Feature request?
Comment #8
dkoukoul commentedHi,
where is this code added in order to prepopulate the field?
Comment #9
lelizondo commentedit depends... in my case the link was in template.php since I was overriding a function and that's where I put it, but if you have the link in a block, there's where you need to add the code.