Comments (2)
It's not that simple. Often, problems arise after the sanitization/validation stage based on how the components of the systems interact and, if you just strip characters like that, you wind up with Fanfiction.net converting 100%
to 100
in posted chapters or various sites converting O'Henry
to OHenry
in form fields.
Languages already have libraries for sanitizing stuff that's truly problematic and, for the rest, you really need functional tests which feed the data through the entire process to verify that it produced the proper effects. (And blns.json
is specifically intended as easy-to-use input for those case-specific tests once you've written them.)
However, what would help is harnesses like the one I wrote for testing the heuristics in https://github.com/ssokolow/game_launcher where it's one test which, on failure, prints out a chart of all of the inputs which didn't produce the expected outputs.
from big-list-of-naughty-strings.
Good point... I may fork the repo and try some tests regarding this (In javascript), but I had an idea of a more or less customizable library, that can selectively filter out the categories stored in the BLNS files (e.g. Reserved Words, Numeric, etc.) so it can be customized for each use.
from big-list-of-naughty-strings.
Related Issues (20)
- Make the file(s) more structured
- Add <!--<script> to the list of strings
- Add dangerous WiFi SSIDs
- Add 睷�睷睷� to the list
- O'[email protected] HOT 2
- Add markdown injection
- Niger, the country. HOT 1
- Add rm -rf / HOT 5
- Comment misidentifies Œ as lowercase
- Question - Naughty Http Endpoints HOT 1
- IDN characters HOT 7
- Underscore-separated digits HOT 2
- XML bomb
- Line 507 HOT 1
- Accident HOT 2
- Is this repo still "alive"? HOT 9
- Add BWTC32Key-generated BOM+CJK test string
- Add CSV excel macro injections
- Add Abugidas and CJK/Emoji variation selectors.
- Test
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 big-list-of-naughty-strings.