Hi, is there a way to do user input validation? Like, PHP has htmlspecialchars() to turn special characters into HTML entities. Are there similar functions in SS?
although to be honest, most of the time it doesnt matter, the characters are usually escaped when storing in fields
battk
06/12/2021, 10:59 AM
mostly because the html forms do that automatically
battk
06/12/2021, 11:08 AM
if you mean angle brackets, quotation marks, and ampersands., then ive lazily used xml.escape
g
Gareth
06/13/2021, 11:36 PM
Oh that's a good point, well, I wonder if NetSuite does security handling of this in the backend by default?
I might ask NetSuite about that directly. I'm guessing it's a yes, since it's a cloud system etc...
Gareth
06/13/2021, 11:36 PM
Thanks for your two links by the way, very useful!