User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 403,401 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,683 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser: Programming Forums
Views: 1101 | Replies: 1 | Solved
Reply
Join Date: Mar 2008
Posts: 7
Reputation: macslayer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
macslayer macslayer is offline Offline
Newbie Poster

hash() md5 and url encoding issue

  #1  
Apr 14th, 2008
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(<email>,"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

<becomes>

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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 7
Reputation: macslayer is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
macslayer macslayer is offline Offline
Newbie Poster

Re: hash() md5 and url encoding issue

  #2  
Apr 14th, 2008
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..
Last edited by macslayer : Apr 14th, 2008 at 12:52 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ColdFusion Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the ColdFusion Forum

All times are GMT -4. The time now is 9:49 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC