What i'm probably going to do is replace the call with a manual CFLocation by setting the header manually...
I'll give it a go on monday to see if it gets round the problem On 09/09/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The only thing I can think of is add some code to check for a LF after you've > encrypted, and if so, change it to another character, or truncate it. You'd > have to pass some sort of additional parameter to the calling page so that > before you Decrypt, you add the LF back so that the Decryption works properly. > > Dave > > -----Original Message----- > From: JediHomer [mailto:[EMAIL PROTECTED] > Sent: Friday, September 09, 2005 11:58 AM > To: CF-Talk > Subject: CFLocation LF and 7 > > > Hi, > > We have an app that runs fine on good old MX6.1. Basically a > confirmation email is sent out to a user with a click here to update > your details. > > This link has an ID that's encrypted with CF's Encrypt, the result of > this is then URLEncoded. > > All works fine until we upgraded the server to 7. When they click the > link, their details are updated and a confirmation page is displayed, > the problem we are having is that we are passing the encoded var into > a CFLocation tag, the ID in this case after encoding is: > > %24%28%20%3FGUP%20%20%0A > > Which for the eagle eyed people contains a LF, although as you can > see, its really a %0A the problem we are experiencing is that > CFLocation is throwing the following error: > > Failed to perform redirection. > ColdFusion was unable to perform the CFLOCATION operation. Location > URL cannot contain (carriage return) CR or (line feed) LF characters > > Anyone know of a work around, without changing the encrypt / decrypt > functions as the site has been live for a while? > > > TIA > > Jedi > > ****************************************************************************************** > The information contained in this message, including attachments, may contain > privileged or confidential information that is intended to be delivered only > to the > person identified above. If you are not the intended recipient, or the person > responsible for delivering this message to the intended recipient, ALLTEL > requests > that you immediately notify the sender and asks that you do not read the > message or its > attachments, and that you delete them without copying or sending them to > anyone else. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217886 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

