cflocation

Redirect to UTF-8 URL with ColdFusion

橙三吉。 提交于 2019-12-30 08:58:05
问题 I'm working on a system that uses UTF-8 characters in folder names for URLs. There's been no problem in navigating to these URLs and everything works as expected - except when issuing a redirect to another page on the site; whereupon the browser seems to encode the extended characters. To give an example, I'm attempting to redirect to the following relative URL: /geschäft/käfer/ If I visit that URL directly in the address bar, there's no problem. However if I change the location header to

Redirect to a new tab using CFLocation - CF9

こ雲淡風輕ζ 提交于 2019-12-02 00:03:54
问题 Is there a way to redirect a user to a new window by using CFLocation? As far as I know you cannot use target=_blank in CFLocation. Is there another way to do it? This is my code: <cfif cgi.PATH_INFO eq "/procedure-page.cfm"> <cflocation url="http://www.example.com/example/example.cfm?id=XXXXXX&contactid=#returnStruct.contactID#&doctorid=#officeLocation#" addtoken="no" > <cfelse> <cflocation url="http://www.example.com/example/example.cfm?id=#example#&contactid=#returnStruct.contactID#