Skip to content

Commit

Permalink
Merge pull request #135 from bl0ggy/Issue#134
Browse files Browse the repository at this point in the history
Issue #134 Improve xmlns parsing
  • Loading branch information
RogerHardiman committed Feb 20, 2020
2 parents fb421bd + e916241 commit 2a7f9fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const linerase = function(xml) {
*/
const parseSOAPString = function(xml, callback) {
/* Filter out xml name spaces */
xml = xml.replace(/xmlns(.*?)=(".*?")/g,'');
xml = xml.replace(/xmlns([^=]*?)=(".*?")/g,'');

try {
xml2js.parseString(
Expand Down

0 comments on commit 2a7f9fe

Please sign in to comment.