Comparing version 0.8.5 to 0.8.6
@@ -0,1 +1,6 @@ | ||
[0.8.6] | ||
* Added request context to console output in the event of an error to assist with debugging | ||
* Relaxed requirements on the route descriptor to allow dot (.) and tilde (~) characters | ||
* Added event handler for connections closed by the client | ||
[0.8.5] | ||
@@ -2,0 +7,0 @@ * Added custom header check (x-citizen-uri) to provide the original requested URL to citizen when behind a proxy (nginx, apache, etc.), which fixes issues with ctzn_referer and secure cookies |
@@ -69,4 +69,3 @@ // router | ||
route.renderedView = route.controller; | ||
route.descriptor = pathToParse.replace(/^\/[A-Za-z0-9-_]+\/([A-Za-z0-9-_]+)\/?.*/, '$1').replace(/\//g, ''); | ||
route.descriptor = pathToParse.replace(/^\/[A-Za-z0-9-_]+\/([A-Za-z0-9-_.~]+)\/?.*/, '$1').replace(/\//g, ''); | ||
} | ||
@@ -73,0 +72,0 @@ |
{ | ||
"name": "citizen", | ||
"version": "0.8.5", | ||
"version": "0.8.6", | ||
"description": "A server-side MVC framework for Node.js web applications. Includes serving, caching, and other helpful methods.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
310348
3945
3651