Comparing version 0.2.8 to 0.2.9
@@ -274,3 +274,3 @@ // server | ||
params.response.end(server.emit('responseEnd', params, context)); | ||
} else if ( controller ) { | ||
} else if ( controller && controller[params.route.action] ) { | ||
// If the Origin header exists and it's not the host, check if it's allowed. If so, | ||
@@ -277,0 +277,0 @@ // set the response header to match the request header (per W3C recs). If not, end the response. |
{ | ||
"name": "citizen", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "An event-driven MVC framework for Node.js web applications.", | ||
@@ -5,0 +5,0 @@ "author": { |
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
127990