Comments (3)
My understanding is that this package is meant only for XSS mitigations.
Are you suggesting to also escape "$" and ".", which are specific to mongo use cases? If yes, why?
from xss-filters.
One module, one solution for all.
But you' re right. Thanks.
from xss-filters.
https://github.com/gurumelo/escape-htmlandmongo
from xss-filters.
Related Issues (17)
- null byte should be stripped? HOT 4
- Bypass uriInUnQuotedAttr using data: scheme. HOT 3
- Add tests for https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet HOT 2
- Version mismatch in bower.json and package.json HOT 1
- Question: a basic API for most common use-case? HOT 4
- xss-filters and hmac HOT 3
- Should not force encodeURI on API like uriInDoubleQuotedAttr HOT 9
- manual css style attribute filter HOT 2
- manual js string filter HOT 1
- [Question] Is it production ready? HOT 3
- Why is a blacklist approach taken for URI protocols, and would a whitelist be safer? HOT 3
- Travis build on Node 0.12 fails (timeout) HOT 4
- NPM error concerning shasum failure HOT 2
- Question: DON'T apply any filters inside any scriptable contexts? HOT 2
- Server side usage to sanitize input
- npm ERR! code EPROTO
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xss-filters.