Permalink
Browse files

Merge pull request #2 from ifit/nullxml

Nulls are handled.
  • Loading branch information...
2 parents b9154a9 + eb60b88 commit 140b9bf9a1bb534240acbdcf9dc08c2e55383fa5 @regality regality committed Mar 5, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/server.js
View
@@ -47,6 +47,7 @@ var Server = function(server, path, services, wsdl) {
})
req.on('end', function() {
var xml = chunks.join(''), result;
+ xml = xml.replace(/\0/g,'');
if (gunzip) {
gunzip.end();
gunzip = null

0 comments on commit 140b9bf

Please sign in to comment.