Comparing version 17.5.3 to 17.5.4
@@ -171,3 +171,5 @@ 'use strict'; | ||
if (!request.info.cors.isOriginMatch) { | ||
if ((request.info.cors && !request.info.cors.isOriginMatch) || // After route lookup | ||
!exports.matchOrigin(request.headers.origin, request.route.settings.cors)) { // Response from onRequest | ||
return; | ||
@@ -174,0 +176,0 @@ } |
{ | ||
"name": "hapi", | ||
"description": "HTTP Server framework", | ||
"homepage": "http://hapijs.com", | ||
"version": "17.5.3", | ||
"homepage": "https://hapijs.com", | ||
"version": "17.5.4", | ||
"repository": { | ||
@@ -7,0 +7,0 @@ "type": "git", |
@@ -14,5 +14,6 @@ <img src="https://raw.github.com/hapijs/hapi/master/images/17.png" align="right"/> | ||
Development version: **17.5.x** ([release notes](https://github.com/hapijs/hapi/issues?labels=release+notes&page=1&state=closed)) | ||
[![Build Status](https://secure.travis-ci.org/hapijs/hapi.svg?branch=master)](http://travis-ci.org/hapijs/hapi) | ||
[![Linux Build Status](https://secure.travis-ci.org/hapijs/hapi.svg?branch=master)](https://travis-ci.org/hapijs/hapi) | ||
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/hapijs/hapi?branch=master&svg=true)](https://ci.appveyor.com/project/hueniverse/hapi) | ||
For the latest updates, [change log](http://hapijs.com/updates), and release information visit [hapijs.com](http://hapijs.com) and follow [@hapijs](https://twitter.com/hapijs) on twitter. If you have questions, please open an issue in the | ||
For the latest updates, [change log](https://hapijs.com/updates), and release information visit [hapijs.com](https://hapijs.com) and follow [@hapijs](https://twitter.com/hapijs) on twitter. If you have questions, please open an issue in the | ||
[discussion forum](https://github.com/hapijs/discuss). | ||
@@ -28,3 +29,3 @@ | ||
[![Auth0](https://user-images.githubusercontent.com/56631/31878562-5c64483a-b78f-11e7-92da-5a991ebb302d.png)](http://bit.ly/auth0h-rn) | ||
[![Auth0](https://user-images.githubusercontent.com/56631/31878562-5c64483a-b78f-11e7-92da-5a991ebb302d.png)](https://bit.ly/auth0h-rn) | ||
@@ -36,3 +37,3 @@ ## Active Supporters | ||
- The product development team at **Creative Artists Agency** | ||
- **[First + Third](http://firstandthird.com)** | ||
- **[First + Third](https://firstandthird.com)** | ||
@@ -39,0 +40,0 @@ ## Legacy Supporters |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169939
4232
43