nokogiri 1.16.1 → 1.16.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eff8843eb712576ae46f11395a29e0daf5b2b99fbec124a604c784281fab2f69
|
4
|
+
data.tar.gz: c4aa6b876e82af3b9d6620cda1040130e17e493d80e7dc84c6c7715d7783d1a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 350715c0687e8d463bc56b666f2113f21ec778998d4862ae88c13a6dbe5ab471ffff1c123870a5ceb9934b0e645ce9e01e25e9242c140244e234076a47cd1922
|
7
|
+
data.tar.gz: 5f617afb7c937a1f321d2f11c13995bd26a7344c9137a63198c88e56512f9cbb8d86d1cb4184cd67dbca70fa380fc2e35cbcd49e487bf73bde323312db547cff
|
data/dependencies.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
libxml2:
|
3
|
-
version: "2.12.
|
4
|
-
sha256: "
|
5
|
-
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.
|
3
|
+
version: "2.12.5"
|
4
|
+
sha256: "a972796696afd38073e0f59c283c3a2f5a560b5268b4babc391b286166526b21"
|
5
|
+
# sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.5.sha256sum
|
6
6
|
|
7
7
|
libxslt:
|
8
8
|
version: "1.1.39"
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.
|
4
|
+
version: 1.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -20,7 +20,7 @@ authors:
|
|
20
20
|
autorequire:
|
21
21
|
bindir: bin
|
22
22
|
cert_chain: []
|
23
|
-
date: 2024-02-
|
23
|
+
date: 2024-02-04 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mini_portile2
|
@@ -271,9 +271,8 @@ files:
|
|
271
271
|
- patches/libxml2/0009-allow-wildcard-namespaces.patch
|
272
272
|
- patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch
|
273
273
|
- patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch
|
274
|
-
- patches/libxml2/0012-parser-Fix-crash-in-xmlParseInNodeContext-with-HTML.patch
|
275
274
|
- patches/libxslt/0001-update-config.guess-and-config.sub-for-libxslt.patch
|
276
|
-
- ports/archives/libxml2-2.12.
|
275
|
+
- ports/archives/libxml2-2.12.5.tar.xz
|
277
276
|
- ports/archives/libxslt-1.1.39.tar.xz
|
278
277
|
homepage: https://nokogiri.org
|
279
278
|
licenses:
|
@@ -1,33 +0,0 @@
|
|
1
|
-
From 95f2a17440568694a6df6a326c5b411e77597be2 Mon Sep 17 00:00:00 2001
|
2
|
-
From: Nick Wellnhofer <wellnhofer@aevum.de>
|
3
|
-
Date: Tue, 30 Jan 2024 13:25:17 +0100
|
4
|
-
Subject: [PATCH] parser: Fix crash in xmlParseInNodeContext with HTML
|
5
|
-
documents
|
6
|
-
|
7
|
-
Ignore namespaces if we have an HTML document with namespaces added
|
8
|
-
manually.
|
9
|
-
|
10
|
-
Fixes #672.
|
11
|
-
---
|
12
|
-
parser.c | 4 +++-
|
13
|
-
1 file changed, 3 insertions(+), 1 deletion(-)
|
14
|
-
|
15
|
-
diff --git a/parser.c b/parser.c
|
16
|
-
index 1038d71b..f7842ed1 100644
|
17
|
-
--- a/parser.c
|
18
|
-
+++ b/parser.c
|
19
|
-
@@ -12415,8 +12415,10 @@ xmlParseInNodeContext(xmlNodePtr node, const char *data, int datalen,
|
20
|
-
}
|
21
|
-
xmlAddChild(node, fake);
|
22
|
-
|
23
|
-
- if (node->type == XML_ELEMENT_NODE) {
|
24
|
-
+ if (node->type == XML_ELEMENT_NODE)
|
25
|
-
nodePush(ctxt, node);
|
26
|
-
+
|
27
|
-
+ if ((ctxt->html == 0) && (node->type == XML_ELEMENT_NODE)) {
|
28
|
-
/*
|
29
|
-
* initialize the SAX2 namespaces stack
|
30
|
-
*/
|
31
|
-
--
|
32
|
-
2.42.0
|
33
|
-
|
Binary file
|