The Dopefly Tech Blog

« The Dopefly Tech Blog Main page

Break Safari with cflocation

posted under category: ColdFusion on June 7, 2005 at 1:00 am by Nathan

Quick tip, something i just stumbled upon.

<cflocation url="?action=abc">

This will break Safari, adding the URL field to the current address. So, if you are looking at:

and run across the above cflocation tag, you will now have something like:

Not exactly the desired effect! The fix, of course, is to be a little more specific.

<cflocation url="/?action=abc">