954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

hash() md5 and url encoding issue

Hello again,

This may or maynot be proper thread for this topic, but here it is. I have a coldfusion 7 serve that I am running a page on, that uses hash(,"MD5") all it well and good
makes me a hash string and all. I store this hash and in a mysql db. Where this goes downhill is where I try to present this hash embedded as string link on a web based email.
I am using cfmail to create the html email. On some of the email html the hash codes get random escaped codes in them. For instance,

FAB8F6699E95066B22BB98D563FE129C

FAB8F6699E95066B22BB98D%0A563FE129C

Notice the %0A in there !! Grrrr..

I have tried htmlcodeformat, htmleditformat, paragraphformat.. etc.. What is odd to me is that the mysql data is correct. So it is in the presentation in a browser/url that boggled.

Thanks for any ideas. Driving me batty.
Bob

macslayer
Newbie Poster
11 posts since Mar 2008
Reputation Points: 12
Solved Threads: 1
 

Ok, I figured it out. Turns out I was not paying attention to cfmail tag, I had put wraptext option in there, and it was actually spliting the line on the url (at the hash point), thus embedding the escaped code in the data string. Turning that off, and lettting my tables control width fixed this issue. Laf, wow.. shiver..

macslayer
Newbie Poster
11 posts since Mar 2008
Reputation Points: 12
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You