validate
validate copied to clipboard
[Question] How to sanitize all data for v.sanitize() with bluemonday
I want to migrate Echo Bind() to v.BindSafeData().
Is there a way to call a bluemonday sanitizer to remove all HTML/JS from strings before the data is bound to a struct field?
Maybe you can customize echo's binding and validating process to achieve it