platform/README.md

16 lines
511 B
Markdown
Raw Normal View History

2017-01-10 13:24:29 +00:00
# security
2017-01-12 23:57:13 +00:00
[![version 0.0.0](https://img.shields.io/badge/pub-v0.0.0--alpha-red.svg)](https://pub.dartlang.org/packages/angel_security)
[![build status](https://travis-ci.org/angel-dart/security.svg)](https://travis-ci.org/angel-dart/security)
2017-01-10 13:24:29 +00:00
Angel middleware designed to enhance application security.
2017-01-12 23:57:13 +00:00
Currently far from finished, with incomplete code coverage - **USE AT YOUR OWN RISK!!!**
## Sanitizing HTML
```dart
app.before.add(sanitizeHtmlInput());
// Or:
app.chain(sanitizeHtmlInput()).get(...)
```