Running binary blob data through SQL cleaning handler?
Posted: Sat Feb 08, 2014 8:16 pm
Hi everyone.....
I have a handler to clean sql data before it gets executed...... its your standard escape character / tab/ return cleaner...
My question is ..... is it safe to run binary / blob data through this ?..... will binary data like " the imagedata",encrypted or compressed data ever contain these characters that are being cleaned? Just hoping the data will pass through the handlre untouched, but i couldn't be sure.
Ty
I have a handler to clean sql data before it gets executed...... its your standard escape character / tab/ return cleaner...
Code: Select all
replace "'" with "''" in UMPProcessor["Next SQL Query"][PrepareWhichSQLQuery]["SQL Parameter"]
replace quote with quote & quote in UMPProcessor["Next SQL Query"][PrepareWhichSQLQuery]["SQL Parameter"]
replace return with "*RETURN*" in UMPProcessor["Next SQL Query"][PrepareWhichSQLQuery]["SQL Parameter"]
replace tab with "*TAB*" in UMPProcessor["Next SQL Query"][PrepareWhichSQLQuery]["SQL Parameter"]
Ty