nokogiri 1.15.6-x64-mingw-ucrt → 1.15.7-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b04eae274a5cf4db80e8edc70874101d9d92db7127a7d76b980a073e09c96b6
4
- data.tar.gz: f5373ad08e23d4d96e9f5f9e82d286019097fa16bd523b2740619ba438c94384
3
+ metadata.gz: 2597aeb20be668d4f9e6f2156e0b197790167e3f82987a177bd95256571614ab
4
+ data.tar.gz: 59f1df015d89d57f82ce2675a3c0b2e14a7625829d35fd2292c352adbd1c8bc6
5
5
  SHA512:
6
- metadata.gz: 208c4eb80ce46e483aa6f2e3a8f5475ecea852b5c91e28cc16e1544fb7f1273e51b69026597b7556ddfb349d9d89032fbe0f16d4c05525069170674cbb555c7b
7
- data.tar.gz: 722f3299ebe46637c038c841455d6570fd7d36d5e2f657679325ebb44462c76b61f10c2396cb97414dc6d4f8249d087a96154e8aad3d610133c0ea45668e2be4
6
+ metadata.gz: 9d622a47518bfc13ed4eaac8f62806deb78daf2e4d102ce2c15a22e0ccf18da90a065a09e7cdc56ec3b7de630d3629c3492678d19f341ffe7b5bf788cac7961c
7
+ data.tar.gz: 56d4895cf8cbd094de6660fbe7329acb22aae9cdc5bbca087cbf78f6b9f12ed94fe35f5f4fb37cd8960bf23f762c0035fcb68fbdf6c000a4c6b4a25349f2efbb
@@ -132,7 +132,7 @@ extern "C" {
132
132
  #ifndef WITH_MODULES
133
133
  #define WITH_MODULES
134
134
  #endif
135
- #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x64-mingw-ucrt/libxslt/1.1.39/lib/libxslt-plugins"
135
+ #define LIBXSLT_DEFAULT_PLUGINS_PATH() "/home/flavorjones/code/oss/nokogiri/ports/x86-mingw32/libxslt/1.1.39/lib/libxslt-plugins"
136
136
  #endif
137
137
 
138
138
  /**
@@ -1853,13 +1853,19 @@ is_one_of(xmlNodePtr node, char const *const *tagnames, size_t num_tagnames)
1853
1853
  if (name == NULL) { // fragments don't have a name
1854
1854
  return false;
1855
1855
  }
1856
+
1857
+ if (node->ns != NULL) {
1858
+ // if the node has a namespace, it's in a foreign context and is not one of the HTML tags we're
1859
+ // matching against.
1860
+ return false;
1861
+ }
1862
+
1856
1863
  for (size_t idx = 0; idx < num_tagnames; ++idx) {
1857
1864
  if (!strcmp(name, tagnames[idx])) {
1858
1865
  return true;
1859
1866
  }
1860
1867
  }
1861
1868
  return false;
1862
-
1863
1869
  }
1864
1870
 
1865
1871
  static void
Binary file
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.15.6"
5
+ VERSION = "1.15.7"
6
6
  end
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.15.6
4
+ version: 1.15.7
5
5
  platform: x64-mingw-ucrt
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-03-16 00:00:00.000000000 Z
23
+ date: 2024-12-02 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: racc
@@ -36,7 +36,6 @@ dependencies:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
38
  version: '1.4'
39
- force_ruby_platform: false
40
39
  description: |
41
40
  Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a
42
41
  sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is