details:
https://github.com/nginx/njs/commit/1f1dd0ae9a97fc4acd14751403be547c8575edb5
branches: master
commit: 1f1dd0ae9a97fc4acd14751403be547c8575edb5
user: Dmitry Volyntsev <[email protected]>
date: Wed, 26 Feb 2025 22:12:31 -0800
description:
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,
}
},
_______________________________________________
nginx-devel mailing list
[email protected]
https://mailman.nginx.org/mailman/listinfo/nginx-devel