If this is your first visit, check our documentation. To post, register or login.
Forums / Bug Reports / function zen_db_prepare_input throws away backslash

function zen_db_prepare_input throws away backslash

Started by torvista on 8 Jan 2013, 11:05 PM · Views: 1,216

Results 1 to 1 of 1
8 Jan 2013, 11:05 PM
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

function zen_db_prepare_input throws away backslash

I have noticed when people enter a street address as
c\Dos de Mayo
it gets cleaned up to
cDos de Mayo
I guess its the regex in function zen_sanitize_string but that's as far as I go...:wacko:

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...