From 1f1dd0ae9a97fc4acd14751403be547c8575edb5 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Wed, 26 Feb 2025 22:12:31 -0800 Subject: [PATCH] XML: fixed serializeToString(). Previously, serializeToString() was exclusiveC14n() which returned string instead of Buffer. According to the published documentation it should be c14n(). --- external/njs_xml_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, } }, -- 2.47.3