Skip to content

Commit e34983a

Browse files
author
Yaron Naveh
committed
remove line break in base64
1 parent babe228 commit e34983a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/signed-xml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ SignedXml.prototype.loadSignature = function(signatureXml) {
287287
}
288288

289289
this.signatureValue =
290-
utils.findFirst(doc, "//*[local-name(.)='SignatureValue']/text()").data
290+
utils.findFirst(doc, "//*[local-name(.)='SignatureValue']/text()").data.replace(/\n/g, '')
291291

292292
this.keyInfo = select(doc, "//*[local-name(.)='KeyInfo']")
293293
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xml-crypto",
3-
"version": "0.0.16",
3+
"version": "0.0.17",
44
"description": "Xml digital signature and encryption library for Node.js",
55
"engines": { "node": ">=0.4.0" },
66
"author": "Yaron Naveh ([email protected], http://webservices20.blogspot.com/)",

0 commit comments

Comments
 (0)