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] Makes CSP middleware work in an environment without express server #184

Merged
merged 2 commits into from
May 13, 2019

Commits on May 11, 2019

  1. [FIX] Makes CSP middleware work in an environment without express server

    With change 4f05967, the CSP middleware
    made use of 'express' APIs on the request object. When used in an
    environment without 'express' (e.g. the OpenUI5 legacy grunt tooling),
    the CSP middleware failed for all requests.
    
    It now uses the native NodeJS APIs again.
    
    Fixes https://github.com/SAP/ui5-server/issues/183 .
    codeworrior committed May 11, 2019
    Configuration menu
    Copy the full SHA
    5ca41bb View commit details
    Browse the repository at this point in the history
  2. adapt tests

    codeworrior committed May 11, 2019
    Configuration menu
    Copy the full SHA
    2a36e9d View commit details
    Browse the repository at this point in the history