https://github.com/michaelbukachi/flask-antijs
An extension to check 'undefined' JS values
https://github.com/michaelbukachi/flask-antijs
flask python python3
Last synced: 3 months ago
JSON representation
An extension to check 'undefined' JS values
- Host: GitHub
- URL: https://github.com/michaelbukachi/flask-antijs
- Owner: michaelbukachi
- License: bsd-2-clause
- Created: 2019-08-02T16:00:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-05T21:04:04.000Z (almost 6 years ago)
- Last Synced: 2025-01-11T19:12:55.752Z (5 months ago)
- Topics: flask, python, python3
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask-AntiJs
[](https://pypi.python.org/pypi/Flask-AntiJs)
[](https://travis-ci.com/michaelbukachi/flask-antijs)Flask-AntiJs is a Flask extension the protects endpoints against
'undefined' javascript values by checking the URL, query params and payloads
and return a 400 (Bad request) response.### Install
```
$ pip install Flask-AntiJs
```### Usage
```
from flask import Flask
from flask_antijs import AntiJsapp = Flask(__name__)
AntiJs(app)
```### Issues
Feel free to raise any issue [here](https://github.com/michaelbukachi/flask-antijs/issues).### Contributions
All contributions are welcome:smile:.