Giter Club home page Giter Club logo

flask-secure-headers's People

Contributors

twaldear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flask-secure-headers's Issues

Python3 Support

It would be great to see this made python3 compatible. Any plans for that?

Does this supersede flask-csp?

Hey, I was just comparing this library against flask-csp and finally realized that they're by the same person!

Out of curiosity, is flask-secure-headers meant to supersede flask-csp?

SimpleHeader validation only validates 1 param

SimpleHeader.check_valid seems to only end up checking 1 param before returning True, and so not all the validation happens I think.

https://github.com/twaldear/flask-secure-headers/blob/master/flask_secure_headers/headers.py#L11

Also, I am getting a validation exception for the default values, in cases where it does end up hitting the validate for report-uri.

https://github.com/twaldear/flask-secure-headers/blob/master/flask_secure_headers/core.py#L37

Defaults to /hpkp_report but

https://github.com/twaldear/flask-secure-headers/blob/master/flask_secure_headers/headers.py#L101

Says only * is valid, unless I am reading it wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.