With code like this…
Posted on August 12, 2004
Filed Under /dev/null/ | 36 views |
Today while wandering the codebase at work I stumbled across this little gem:
extracontent =
replace(replace(replace(replace(replace(request.form(”extrahtml”),VBCrLf,”
“),chr(34),”"),”‘”,”chr(39)”),”>”,”>”),”<”,”<")
contacttext =
replace(replace(replace(replace(replace(request.form(”contacttext”),VBCrLf,”
“),chr(34),”"),”‘”,”chr(39)”),”>”,”>”),”<”,”<")
It actually continues for about four more lines, each just like that but you get the point. I just had to share - it’s so damned hard-core and… huh. Yeah.