Re: [nodejs] Re: How to use AntiSamy-java from a node.js application to sanitize HTML

2012-04-12 Thread Jann Horn
On Fri, Mar 30, 2012 at 01:38:48AM -0500, Marcel Laverdet wrote: > Sanitization is not difficult. Just escape 5 or so HTML control characters. Depends on whether you just want to escape everything or to allow some things. pgpgraBk32TW4.pgp Description: PGP signature

Re: [nodejs] Re: How to use AntiSamy-java from a node.js application to sanitize HTML

2012-03-29 Thread Marcel Laverdet
Sanitization is not difficult. Just escape 5 or so HTML control characters. On Wed, Mar 28, 2012 at 1:06 PM, dmh2000 wrote: > because sanitization is pretty difficult and Anti-Samy has a strong > organization backing it up. that said, I'm sure the existing npm modules > are good. > > http://www.

[nodejs] Re: How to use AntiSamy-java from a node.js application to sanitize HTML

2012-03-28 Thread dmh2000
because sanitization is pretty difficult and Anti-Samy has a strong organization backing it up. that said, I'm sure the existing npm modules are good. http://www.25hoursaday.com/weblog/2008/08/31/DevelopersUsingLibrariesIsNotASignOfWeakness.aspx On Friday, March 2, 2012 3:30:39 PM UTC-8, mscdex

[nodejs] Re: How to use AntiSamy-java from a node.js application to sanitize HTML

2012-03-02 Thread mscdex
On Mar 2, 5:45 pm, dmh2000 wrote: > i posted a gist on github with an example, using Joe Ferners node-java > to interface to the AntiSamy java library for HTML > sanitizationhttps://gist.github.com/1961957 Why not use something with less overhead, like one of the sanitization modules already on