Skip to content
Browse files

Merge pull request #4 from ifit/null

[fixes #43254575] - Null value
  • Loading branch information...
2 parents 140b9bf + f4f01a3 commit 64581cbab6983ab9536cfb7e6bb45f3365971c7c @grobot grobot committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/server.js
View
2 lib/server.js
@@ -47,7 +47,7 @@ var Server = function(server, path, services, wsdl) {
})
req.on('end', function() {
var xml = chunks.join(''), result;
- xml = xml.replace(/\0/g,'');
+ xml = xml.replace(/[\x00-\x1F]/g,'');
if (gunzip) {
gunzip.end();
gunzip = null

0 comments on commit 64581cb

Please sign in to comment.
Something went wrong with that request. Please try again.