adding protections against XSS
Merge remote-tracking branch 'origin/master'