Tuesday, 25 May 2010

UUHellcoding

I’m currently working on porting a site from Coldfusion to .Net, and have been tasked with making the new site capable of reading the old site’s cookies to auto log in users. The first step in this requires decoding the cookie string into binary data with a UUDecoder. I’ve trawled them there interwebs and found a load of “implementations” on various coding websites, none of which worked. I particularly enjoyed the one that took a string and turned it into a string. That seemed to be missing the point of a binary encoder to me.

Aaaanyway, the happy ending to my tale of woe came when I found this post on Szymon Kobalczyk's Blog. A great big thanks to Szymon for this little nugget of goodness.