From: Dmitry Volyntsev Date: Thu, 27 Feb 2025 06:12:31 +0000 (-0800) Subject: XML: fixed serializeToString(). X-Git-Tag: 0.8.10~8 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=1f1dd0ae9a97fc4acd14751403be547c8575edb5;p=njs.git XML: fixed serializeToString(). Previously, serializeToString() was exclusiveC14n() which returned string instead of Buffer. According to the published documentation it should be c14n(). --- diff --git a/external/njs_xml_module.c b/external/njs_xml_module.c index d5ab9ddd..f66c8cdb 100644 --- a/external/njs_xml_module.c +++ b/external/njs_xml_module.c @@ -181,7 +181,7 @@ static njs_external_t njs_ext_xml[] = { .enumerable = 1, .u.method = { .native = njs_xml_ext_canonicalization, - .magic8 = 3, + .magic8 = 2, } },