Skip to content
Branch: master
Commits on Sep 8, 2019
  1. isSecure checks the X-Forwarded-Proto and X-Forwarded-Port headers (#267

    omBratteng authored and freost committed Sep 8, 2019
    * Check if the connection is secure by testing for HTTP_X_FORWARDED_PROTO and HTTP_X_FORWARDED_PORT
    * Add unit tests for forwarded secure connections
    * Drop port number check in isSecure, as it doesn't mean it is secure
You can’t perform that action at this time.