[development] URL encoding

nitin gupta nitingupta.iitg at gmail.com
Thu Mar 11 15:08:59 UTC 2010


I am sorry, my mistake. But this also doesn't seem to work:

url('http://example.com/with spaces', array( 'external' => TRUE));

--
Regards,
Nitin Kumar Gupta
http://publicmind.in/blog/


On Thu, Mar 11, 2010 at 8:33 PM, Adam Gregory <arcaneadam at gmail.com> wrote:

> For one url('example.com/with spaces', array('absolute' => TRUE,
> 'external' => TRUE)); isn't an absolute url. You should pass it http:///
> also. The absolute TRUE will only make internal urls output with the full
> http://
> -----
> Adam A. Gregory
> Drupal Developer & Consultant
> Web: AdamAGregory.com
> Twitter: twitter.com/adamgregory
> Phone: 910.808.1717
> Cell: 919.306.6138
>
>
>
> On Thu, Mar 11, 2010 at 9:59 AM, nitin gupta <nitingupta.iitg at gmail.com>wrote:
>
>> url('example.com/with spaces', array('absolute' => TRUE, 'external' =>
>> TRUE));
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100311/a1a5db00/attachment.html 


More information about the development mailing list