+2
-2
@@ -42,3 +42,3 @@ var router = require('router'); | ||
| body = jsonp+'('+JSON.stringify(body)+');'; | ||
| headers['content-type'] = 'text/javascript'; | ||
| headers['content-type'] = 'text/javascript; charset=utf-8'; | ||
| status = 200; | ||
@@ -49,3 +49,3 @@ } | ||
| } | ||
| headers['content-type'] = headers['content-type'] || type; | ||
| headers['content-type'] = headers['content-type'] || (type+'; charset=utf-8'); | ||
| headers['access-control-allow-origin'] = '*'; | ||
@@ -52,0 +52,0 @@ |
+1
-1
@@ -5,3 +5,3 @@ { | ||
| "keywords": ["cross-domain", "cors", "crud", "browser", "cross-browser"], | ||
| "version":"0.2.3", | ||
| "version":"0.2.4", | ||
| "homepage" : "https://github.com/gett/crossmania", | ||
@@ -8,0 +8,0 @@ "author": "Ge.tt <hello@ge.tt>", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
10320
0.34%