Sanitization is not difficult. Just escape 5 or so HTML control characters.

On Wed, Mar 28, 2012 at 1:06 PM, dmh2000 <[email protected]> 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.25hoursaday.com/weblog/2008/08/31/DevelopersUsingLibrariesIsNotASignOfWeakness.aspx
>
>
> On Friday, March 2, 2012 3:30:39 PM UTC-8, mscdex wrote:
>>
>> On Mar 2, 5:45 pm, dmh2000 <[email protected]> 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 <http://gist.github.com/1961957>
>>
>> Why not use something with less overhead, like one of the sanitization
>> modules already on npm?
>
>  --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to