zeanium-node
Advanced tools
Comparing version 0.2.7 to 0.2.8
{ | ||
"name": "zeanium-node", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "Zeanium for Node.js, simple http server and custome your business.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,2 +28,3 @@ zn.define([ | ||
} | ||
if(router == path){ | ||
@@ -93,3 +94,3 @@ return true; | ||
if(_util.test(key, url)){ | ||
if(key.indexOf('/:') != -1){ | ||
if(key.indexOf('/:') != -1 || key.indexOf('\:') != -1){ | ||
_handler.pathArgv = _util.parseParam(key, url); | ||
@@ -96,0 +97,0 @@ } |
@@ -33,3 +33,5 @@ /** | ||
_url = _url.replace(/\//g,'\\'); | ||
if(zn.SLASH!='/'){ | ||
_url = _url.replace(/\//g,'\\'); | ||
} | ||
for(var key in this._handlerManagers){ | ||
@@ -36,0 +38,0 @@ _handlerManager = this._handlerManagers[key]; |
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
361720
8815