Sanitizing forms in vibe.d. How?
aberba via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 12 02:25:05 PST 2016
On Monday, 12 December 2016 at 00:42:54 UTC, Nicholas Wilson
wrote:
> On Sunday, 11 December 2016 at 18:30:54 UTC, aberba wrote:
> You can enforce that the string that you receive is an email
> address with `isEmail` from `std.net.isemail`
Nice.
> What sql library are you using? there is probably a function in
> that somewhere, that does sanitisation, or use prepared
> statements.
Will look into that. Currently planning to use mysql-lited (not
sure which one is more capable though)
How about alternative to php strip_tags(), strip_slash() ?
More information about the Digitalmars-d-learn
mailing list