Where are you running BuildUrl()? If you doing it in a view, it
automatically escapes HTML entities so if you are using the url with JS
-- you need to use BuildUnescapedUrl()
.Peter
Derrick Jackson said the following on 07/22/2009 03:52 PM:
> Hi all,
>
> I am using M2 1.8 and recently started having issues with BuildURL and
> what gets displayed in the browser.
>
> I have the following code:
>
> <cfset linkStruct = structNew() />
> <cfset linkStruct.applicationUUID =
> applicationData.getApplicationUUID() />
> <cfset linkStruct.relatorUUIDs = event.getArg('relatorUUIDs') />
>
> <cflocation url="#BuildURL('showExcelExport',linkStruct)#" />
>
> When the cflocation occurs, the ampersands in the URL are all
> escaped. Normally this would not be an issue but I noticed my
> listener thinks the var names are:
>
> * amp;ApplicationUUID
> * amp;relatorUUIDs
>
> I've honestly never noticed M2 doing this to the URL before. I'm a
> little thrown by it and dont know how to correct the issue. Any ideas
> or need more information, let me know.
>
> Thanks,
> Derrick
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---