bfederle f7524c22d4 Add helper function to sanitize user input strings
For any strings that require sanitization (i.e., strip
HTML/JavaScript), wrap the string around cloudStack.sanitize, or _s
for short. This currently will remove embedded HTML tags, which are
the main security issues present.

Example:

var str = '<script>Hello</script>My String';

_s(str) = '&lt;script&gt;Hello&lt;/script&gt;My String'
2012-03-14 10:54:41 -07:00
..
2012-03-09 14:12:49 -08:00
2012-03-05 16:13:31 -08:00
2012-02-13 15:11:11 -08:00
2012-02-13 14:20:43 -08:00
2012-02-21 15:13:52 -08:00