Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Kev McCabe

David

Member since Jan 9, 2012

Recent Blog Comments By David

  • Cleaning High Ascii Values For Web Safeness In ColdFusion

    Posted on Jan 9, 2012 at 3:09 PM

    When I added the following code to onRequestStart in app.cfc, it stripped out the special characters: for (key in URL) { if (not isJSON(URL[key])) { URL[key] = REReplace(URL[key],'[^\x20-\x7E\x0D\x09]','','all'); } } for (key in FORM) { if (not isJSON(FORM[key])) { FORM[key] = RERepl... read more »

  • Cleaning High Ascii Values For Web Safeness In ColdFusion

    Posted on Jan 9, 2012 at 12:03 PM

    It would be nice to "globally" or "automatically" sanitize all data that is persisted to the DB. Since I'm using ORM, I'm fooling around the preUpdate/preInsert events, but I'm wondering if anyone else has already tackled this? My JSON returns from AJAX calls show an "invali... read more »