Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] CSP Middleware: Use native res.getHeader/setHeader methods #312

Merged
merged 2 commits into from
Apr 27, 2020

Commits on Apr 20, 2020

  1. [FIX] CSP Middleware: Use native res.getHeader/setHeader methods

    Using getHeader/setHeader instead of the express methods get/set to
    allow using the middleware with a different server framework or as a
    native Node.js server handler.
    
    This also aligns the code with the other middleware which already use
    getHeader/setHeader.
    matz3 committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    c3d6677 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. Fix tests

    matz3 committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    5100eed View commit details
    Browse the repository at this point in the history