issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"sparklemotion",
"nokogiri"
] | <!--
**Do not report Security Vulnerabilities here**
If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub.
-->
**Please describe the bug**
<!... | [bug] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2634/comments | 1 | 2022-08-26T14:56:41Z | 2022-08-26T16:31:52Z | https://github.com/sparklemotion/nokogiri/issues/2634 | 1,352,383,582 | 2,634 |
[
"sparklemotion",
"nokogiri"
] | This issue is to track an investigation into the upstream patches applied by Canoncial to libxslt.
References:
- https://ubuntu.com/security/notices/USN-5575-1
- https://ubuntu.com/security/CVE-2019-5815
- https://ubuntu.com/security/CVE-2021-30560
## Summary of Analysis
No action necessary by maintaine... | Investigate libxslt patches in USN-5575-1 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2630/comments | 0 | 2022-08-22T16:59:21Z | 2022-08-22T16:59:37Z | https://github.com/sparklemotion/nokogiri/issues/2630 | 1,346,722,544 | 2,630 |
[
"sparklemotion",
"nokogiri"
] | `libiconv` 1.17 was released on 2022-05-15. Nokogiri's native gems for Darwin and Windows ship a vendored libiconv, so let's stay up to date if possible.
```patch
diff --git a/NEWS b/NEWS
index 7bee459..9d3cdfb 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,14 @@
+New in 1.17:
+* The libiconv library is now licensed... | Update vendored libiconv to v1.17 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2627/comments | 0 | 2022-08-18T02:00:23Z | 2022-08-28T15:12:42Z | https://github.com/sparklemotion/nokogiri/issues/2627 | 1,342,472,384 | 2,627 |
[
"sparklemotion",
"nokogiri"
] | Recently Canonical issued a patch to zlib as [USN-5570-1](https://ubuntu.com/security/notices/USN-5570-1) to address [CVE-2022-37434](https://ubuntu.com/security/CVE-2022-37434).
Nokogiri's native gems for Linux, Darwin, and Windows all statically link against zlib, and so this issue exists to investigate whether No... | Vulnerability scanners flagging zlib 1.2.12 CVE-2022-37434 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2626/comments | 4 | 2022-08-18T01:50:33Z | 2022-10-19T00:05:31Z | https://github.com/sparklemotion/nokogiri/issues/2626 | 1,342,463,303 | 2,626 |
[
"sparklemotion",
"nokogiri"
] | This commit upstream:
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/e986d09cf531e77a9ab46af2d1a219072f310190
is likely causing "upstream" CI failures:
- https://github.com/sparklemotion/nokogiri/runs/7647412154?check_suite_focus=true#step:8:4198
| Investigate upstream libxml2 CI failures related to improperly-opened comment parsing | https://api.github.com/repos/sparklemotion/nokogiri/issues/2621/comments | 1 | 2022-08-08T02:24:32Z | 2022-08-15T16:35:18Z | https://github.com/sparklemotion/nokogiri/issues/2621 | 1,331,235,217 | 2,621 |
[
"sparklemotion",
"nokogiri"
] | This issue has been opened to track the analysis of a CVE reported in the python lxml library, and whether that bug may be triggerable via Nokogiri.
Related links:
- original vuln report: https://huntr.dev/bounties/8264e74f-edda-4c40-9956-49de635105ba/
- lxml patch and test: https://github.com/lxml/lxml/commit/8... | Investigate whether CVE-2022-2309 (or similar) is present | https://api.github.com/repos/sparklemotion/nokogiri/issues/2620/comments | 1 | 2022-08-08T02:21:59Z | 2022-08-15T21:10:52Z | https://github.com/sparklemotion/nokogiri/issues/2620 | 1,331,233,462 | 2,620 |
[
"sparklemotion",
"nokogiri"
] | This issue is to track an investigation into the upstream patches applied by Canonical to the 2.9.10-derived version
References:
- https://ubuntu.com/security/notices/USN-5548-1
- https://ubuntu.com/security/CVE-2016-3709
- https://bugzilla.gnome.org/show_bug.cgi?id=769760
## Summary of Analysis
This vulner... | Investigate libxml2 patches in USN-5548-1 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2619/comments | 1 | 2022-08-08T01:57:33Z | 2022-08-08T02:11:03Z | https://github.com/sparklemotion/nokogiri/issues/2619 | 1,331,216,636 | 2,619 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [X] Yes!
**What is the complete output of `gem install` or `bundle install`?**
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
Using rails 7.0.3.1
... | [install] Rails 7 with TruffleRuby does fail on nokogiri installation | https://api.github.com/repos/sparklemotion/nokogiri/issues/2604/comments | 10 | 2022-07-24T21:27:02Z | 2022-07-24T22:51:36Z | https://github.com/sparklemotion/nokogiri/issues/2604 | 1,316,013,007 | 2,604 |
[
"sparklemotion",
"nokogiri"
] | See https://github.com/actions/virtual-environments/issues/5583
See https://github.com/sparklemotion/nokogiri/actions/runs/2713629874
| ci: freebsd actions are configured to run on macos-10.15 which is being deprecated | https://api.github.com/repos/sparklemotion/nokogiri/issues/2600/comments | 1 | 2022-07-21T18:00:32Z | 2022-07-21T20:57:33Z | https://github.com/sparklemotion/nokogiri/issues/2600 | 1,313,613,745 | 2,600 |
[
"sparklemotion",
"nokogiri"
] | Originally reported downstream in https://github.com/pythonicrubyist/creek/issues/105
Special thanks to @bf4 who helped reliably reproduce this.
More details coming shortly. | bug: v1.13.7 XML::Reader may segfault | https://api.github.com/repos/sparklemotion/nokogiri/issues/2598/comments | 10 | 2022-07-20T17:23:11Z | 2022-07-23T17:17:20Z | https://github.com/sparklemotion/nokogiri/issues/2598 | 1,311,548,600 | 2,598 |
[
"sparklemotion",
"nokogiri"
] | **What problem are you trying to solve?**
[This commit](https://github.com/sparklemotion/nokogiri/commit/720d6f49ce2630f2e8b2b0a7aeda4fd8d8176734) from Nokogiri caused our application to start failing on SAML requests.
This is due to the `saml2` gem that we use, and a transitive dependency there called [nokogiri-... | [help] How do I use Noko_Node_Get_Struct in another project? | https://api.github.com/repos/sparklemotion/nokogiri/issues/2594/comments | 7 | 2022-07-13T06:39:12Z | 2022-07-14T12:25:08Z | https://github.com/sparklemotion/nokogiri/issues/2594 | 1,302,974,612 | 2,594 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
Invocations of `Nokogiri::HTML4()` and `Nokogiri::HTML5()` both support optional second parameters representing the parsed document's URL:
- https://github.com/sparklemotion/nokogiri/blob/main/lib/nokogiri/html4.rb#L6-L12
- https://github.com/sparklemotion/nokogiri/blob/main/lib/nokog... | [bug] HTML5 parser loses reference to `url` parameter value | https://api.github.com/repos/sparklemotion/nokogiri/issues/2583/comments | 3 | 2022-06-23T14:09:30Z | 2022-06-23T16:23:50Z | https://github.com/sparklemotion/nokogiri/issues/2583 | 1,282,469,857 | 2,583 |
[
"sparklemotion",
"nokogiri"
] | **What problem are you trying to solve?**
I am using nokogiri to check whether a text is a well-formed HTML document. To do so I'm using
```
Nokogiri::HTML::Document.parse(html)
```
I want to check all tags are properly closed, and the function above does not do that, so I used
```
Nokogiri::XML.parse(... | Unquoted attributes in HTML [help] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2582/comments | 5 | 2022-06-22T14:20:40Z | 2022-06-23T14:18:34Z | https://github.com/sparklemotion/nokogiri/issues/2582 | 1,280,230,871 | 2,582 |
[
"sparklemotion",
"nokogiri"
] | I already reported this at rubygems.org and got this answer:
> This support email is for issues related to RubyGems.org the website and RubyGems the client. Please use Stackoverflow or Github issues for help with specific gems.
Thanks!
-----
**Have you read and followed the installation tutorial at http://w... | [install] gem installation fails due to access right issues on rubygems.org | https://api.github.com/repos/sparklemotion/nokogiri/issues/2580/comments | 1 | 2022-06-18T12:31:17Z | 2022-06-18T16:32:33Z | https://github.com/sparklemotion/nokogiri/issues/2580 | 1,275,778,874 | 2,580 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
`xmlNodePtr` instances keep a reference to their Ruby wrapper inside the `_private` member. You can see the `_private` member being set to the wrapping Ruby instance [here](https://github.com/sparklemotion/nokogiri/blob/0e75392d49ca3758dcdfc6610c9c22ccdc23001c/ext/nokogiri/xml_node.c#L20... | [bug] Document / Nodes aren't compaction friendly | https://api.github.com/repos/sparklemotion/nokogiri/issues/2578/comments | 6 | 2022-06-14T23:42:44Z | 2022-11-04T01:40:28Z | https://github.com/sparklemotion/nokogiri/issues/2578 | 1,271,475,360 | 2,578 |
[
"sparklemotion",
"nokogiri"
] | Hi,
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
**What is the complete output of `gem install`
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
Fetching nokogiri-1.13.6.gem
Fetching... | [install] unable to install Nokogiri 1.13.6 on OpenBSD 7.1 amd64 - (testing purpose for Rails) | https://api.github.com/repos/sparklemotion/nokogiri/issues/2576/comments | 5 | 2022-06-13T19:23:26Z | 2022-06-13T19:57:36Z | https://github.com/sparklemotion/nokogiri/issues/2576 | 1,269,856,306 | 2,576 |
[
"sparklemotion",
"nokogiri"
] | It would be nice to see the meaning of NOBLANKS elaborated on in the docs. I web searched and there was some confusion as to what it meant (e.g. at https://stackoverflow.com/questions/18040423/how-to-use-nokogiris-noblanks). Does it mean something like this (I'm sure you could say it better):
NOBLANKS - resuts in _n... | Elaborate on meaning of NOBLANKS option. | https://api.github.com/repos/sparklemotion/nokogiri/issues/2570/comments | 1 | 2022-06-07T06:36:36Z | 2022-06-07T12:34:37Z | https://github.com/sparklemotion/nokogiri/issues/2570 | 1,262,793,828 | 2,570 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the issue**
Originally https://github.com/rubys/nokogumbo/issues/145, please read that issue for an in-depth conversation.
For HTML5 documents, `#to_s` is much slower than native libxml2 serialization. However, libxml2 gets many things wrong which is why Nokogumbo (and now Nokogiri::HTML5) imple... | explore ways to speed up HTML5 document serialization | https://api.github.com/repos/sparklemotion/nokogiri/issues/2569/comments | 0 | 2022-06-05T21:02:16Z | 2022-07-19T20:21:42Z | https://github.com/sparklemotion/nokogiri/issues/2569 | 1,261,159,106 | 2,569 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
Originally https://github.com/rubys/nokogumbo/issues/144
Code was added to limit the number of attributes supported per element to prevent DoS attacks: https://github.com/rubys/nokogumbo/pull/143
That safety limit is here: https://github.com/sparklemotion/nokogiri/blob/main/gumbo-pa... | fix O(n^2) behavior when checking for duplicate attributes (libgumbo) | https://api.github.com/repos/sparklemotion/nokogiri/issues/2568/comments | 2 | 2022-06-05T20:53:04Z | 2024-12-29T03:37:28Z | https://github.com/sparklemotion/nokogiri/issues/2568 | 1,261,157,327 | 2,568 |
[
"sparklemotion",
"nokogiri"
] | This commit upstream:
> https://github.com/html5lib/html5lib-tests/issues/143
is failing with this message:
```
Failure:
TestHtml5TreeConstructionTests20#test_39 [/home/flavorjones/code/oss/nokogiri/test/html5/test_tree_construction.rb:96]
Minitest::Assertion: Wrong number of errors for <!doctype html><butt... | upstream html5lib-tests failure | https://api.github.com/repos/sparklemotion/nokogiri/issues/2567/comments | 13 | 2022-06-05T20:46:53Z | 2022-07-11T14:27:14Z | https://github.com/sparklemotion/nokogiri/issues/2567 | 1,261,156,180 | 2,567 |
[
"sparklemotion",
"nokogiri"
] | I recently shipped a PR upstream: https://github.com/HtmlUnit/htmlunit-neko/pull/13
If that gets accepted, then the pending tests from 7cec00e and 277db2e should start passing, and that's a good time to implement upstream testing against https://github.com/HtmlUnit/htmlunit-neko/ | test against upstream htmlunit-neko | https://api.github.com/repos/sparklemotion/nokogiri/issues/2565/comments | 7 | 2022-06-05T19:11:58Z | 2024-07-03T18:31:46Z | https://github.com/sparklemotion/nokogiri/issues/2565 | 1,261,136,404 | 2,565 |
[
"sparklemotion",
"nokogiri"
] | [View current status of the miletstone here](https://github.com/sparklemotion/nokogiri/milestone/24).
Other chores needed for this release:
- [x] thank sponsors when v1.14.0 drops
- [x] review https://github.com/sponsors/flavorjones/dashboard/your_sponsors?tier_id=125132
- one time
- [x] @dvrensk ackno... | Cut a v1.14.0 release | https://api.github.com/repos/sparklemotion/nokogiri/issues/2564/comments | 5 | 2022-06-05T17:24:24Z | 2023-01-12T22:05:32Z | https://github.com/sparklemotion/nokogiri/issues/2564 | 1,261,113,122 | 2,564 |
[
"sparklemotion",
"nokogiri"
] | **What problem are you trying to solve?**
<!--
A clear and concise description of what you're trying to do. Please try to describe the problem you're solving, rather than the solution you're implementing -- avoid the XY Problem! http://xyproblem.info/
-->
**Please show your code!**
<!--
If possible, please include w... | [help]e444525ef1634b675cd1cf52d39f4320ef0aecfd
| https://api.github.com/repos/sparklemotion/nokogiri/issues/2563/comments | 0 | 2022-06-04T07:11:14Z | 2022-07-10T17:30:07Z | https://github.com/sparklemotion/nokogiri/issues/2563 | 1,260,670,290 | 2,563 |
[
"sparklemotion",
"nokogiri"
] | <!--
**Do not report Security Vulnerabilities here**
If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub.
-->
**High level description*... | [bug] xinclude error message is shadowed by missing DTD warning message. | https://api.github.com/repos/sparklemotion/nokogiri/issues/2562/comments | 4 | 2022-06-01T10:41:09Z | 2024-06-24T19:41:08Z | https://github.com/sparklemotion/nokogiri/issues/2562 | 1,255,642,798 | 2,562 |
[
"sparklemotion",
"nokogiri"
] | The CSS selector parser we have is complex, and selector parsing is really a separable concern from Nokogiri proper. It would be nice if we were able to use an existing parser.
(Side note: the generation of XPath from the CSS _is_ a Nokogiri concern, though, since the generated xpath query is often tightly coupled t... | explore: alternative CSS selector parsers | https://api.github.com/repos/sparklemotion/nokogiri/issues/2560/comments | 4 | 2022-05-31T16:41:14Z | 2024-07-03T15:57:03Z | https://github.com/sparklemotion/nokogiri/issues/2560 | 1,254,130,004 | 2,560 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
```ruby
Nokogiri::HTML::Document.parse("<div></div>").create_text_node("asdf").to_s
```
results in
```
Unhandled Java exception: java.lang.NullPointerException
java.lang.NullPointerException: null
isHtmlScript at nokogiri/internals/SaveContextVisitor.java:812
... | [bug] jruby NPE when serializing an unparented HTML node | https://api.github.com/repos/sparklemotion/nokogiri/issues/2559/comments | 2 | 2022-05-30T17:54:13Z | 2023-06-05T20:29:53Z | https://github.com/sparklemotion/nokogiri/issues/2559 | 1,253,003,895 | 2,559 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
Although I'm trying to install an earlier version of Nokogiri (1.8.5, due to `~> 1.8.1` dependency of the main gem I'm trying to install -- which is in turn dependent on mini_portil... | mini_portile2 fails when 'unlink'-ing temp log-file in Windows [install] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2558/comments | 8 | 2022-05-27T14:21:07Z | 2022-05-27T19:31:21Z | https://github.com/sparklemotion/nokogiri/issues/2558 | 1,250,827,690 | 2,558 |
[
"sparklemotion",
"nokogiri"
] | Regarding https://github.com/html5lib/html5lib-tests/pull/148, one possibility is we could change our parser for these tests to either give a warning when the test format is wrong or just handle out of order sections (or both).
As I recall, the code I wrote to parse these is…not great. I think I just cobbled a parse... | Change html5lib parser to accommodate out-of-order test metadata | https://api.github.com/repos/sparklemotion/nokogiri/issues/2555/comments | 2 | 2022-05-25T18:54:29Z | 2022-05-25T22:03:14Z | https://github.com/sparklemotion/nokogiri/issues/2555 | 1,248,569,762 | 2,555 |
[
"sparklemotion",
"nokogiri"
] | ```ruby
require "nokogiri" #1.13.6
puts Nokogiri.HTML("x").fragment("hello")
#=> hello
puts Nokogiri.HTML5("x").fragment("hello")
#=> <head></head><body>hello</body>
```
I'm fairly sure that a "fragment" is not supposed to include the `<head>` and `<body>` tags. | [bug] HTML5 fragment has extraneous head/body tags | https://api.github.com/repos/sparklemotion/nokogiri/issues/2551/comments | 7 | 2022-05-17T20:44:27Z | 2022-07-20T13:26:56Z | https://github.com/sparklemotion/nokogiri/issues/2551 | 1,239,139,038 | 2,551 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
We seem to have hit an extreme edge case. Consider this script:
```
require 'nokogiri'
html = <<-HTML
<body>
<div>
<div>
<ul class='outer'>
<li class='outer1'>
<div>
<ul class='inner1'><li class='inner11'></li></ul>
</div>
... | [bug] jruby nokogiri + bson + boilerpipe garbles html | https://api.github.com/repos/sparklemotion/nokogiri/issues/2550/comments | 5 | 2022-05-13T16:57:49Z | 2022-05-18T21:25:04Z | https://github.com/sparklemotion/nokogiri/issues/2550 | 1,235,476,785 | 2,550 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
It's not clear to me why we're using a namespace cache in the JRuby implementation. It is causing problems in edge cases like #1247 that I think would be better solved by looking up the node's parent chain for an identical namespace definition a) when it is added, and b) when the node is ... | [bug] explore removing JRuby implementation's namespace cache | https://api.github.com/repos/sparklemotion/nokogiri/issues/2543/comments | 0 | 2022-05-11T17:57:10Z | 2025-03-09T20:37:24Z | https://github.com/sparklemotion/nokogiri/issues/2543 | 1,233,001,675 | 2,543 |
[
"sparklemotion",
"nokogiri"
] | I'm trying to pretty print a large (some MB) XML file using the following stylesheet:
```xml
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<xsl:copy-of se... | [bug] Segmentation fault on "transform" | https://api.github.com/repos/sparklemotion/nokogiri/issues/2536/comments | 6 | 2022-05-09T07:45:45Z | 2022-11-22T08:58:05Z | https://github.com/sparklemotion/nokogiri/issues/2536 | 1,229,316,365 | 2,536 |
[
"sparklemotion",
"nokogiri"
] | libxml2 v2.9.14 was released today:
https://gitlab.gnome.org/GNOME/libxml2/-/releases
This ticket has been opened to drive the work to update to that version of libxml2 in the packaged libraries that are vendored with nokogiri. It will be released as v1.13.5. There will also be a GHSA published to reflect the fac... | Update to libxml2 2.9.14 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2525/comments | 5 | 2022-05-02T17:02:21Z | 2022-05-04T21:22:10Z | https://github.com/sparklemotion/nokogiri/issues/2525 | 1,223,118,836 | 2,525 |
[
"sparklemotion",
"nokogiri"
] | To build large and rather cumbersome AIXM (XML) files, I'm currently switching from the "builder" gem to Nokogiri's built-in XML builder. `DocumentFragment`s come in quite handy to build the blocks with which to assemble the final document.
Most `DocumentFragment`s have a container with which everything works like a... | [help] XML Builder and Newlines Oddity | https://api.github.com/repos/sparklemotion/nokogiri/issues/2522/comments | 3 | 2022-04-30T15:11:03Z | 2022-04-30T17:02:19Z | https://github.com/sparklemotion/nokogiri/issues/2522 | 1,221,853,106 | 2,522 |
[
"sparklemotion",
"nokogiri"
] | Maybe a bug, could also be a misunderstanding on my part.
Given a simple, but un-pretty XML document. Thanks to parsing with `&:noblanks` it can be pretty printed like so:
```ruby
require 'nokogiri'
xml = <<~END
<root>
<first><child>foo</child></first>
<second><child>bar</child></second>
</root>
EN... | Replacing a node breaks indent | https://api.github.com/repos/sparklemotion/nokogiri/issues/2521/comments | 7 | 2022-04-29T17:36:32Z | 2022-04-30T18:01:48Z | https://github.com/sparklemotion/nokogiri/issues/2521 | 1,221,334,552 | 2,521 |
[
"sparklemotion",
"nokogiri"
] | I have to manipulate an AIXM 4.5 (XML) document similar to this snippet:
```xml
<?xml version="1.0" encoding="utf-8"?>
<AIXM-Snapshot (...)>
<Ase>
<AseUid>
<codeType>R</codeType>
<codeId>LS-R2 HOHGANT</codeId>
</AseUid>
<txtName>LS-R2 HOHGANT</txtName>
<codeDistVerUpper>STD</co... | Fuzzy selection by content with XPath (or CSS) | https://api.github.com/repos/sparklemotion/nokogiri/issues/2520/comments | 3 | 2022-04-28T20:59:11Z | 2022-05-12T14:45:36Z | https://github.com/sparklemotion/nokogiri/issues/2520 | 1,219,287,212 | 2,520 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
Hi, I'm trying to install Nokogiri on OpenBSD 7.0 but it's fail, I follow the instructions for OpenBSD 7 here https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-... | [install] Fail to install on OpenBSD 7.0 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2515/comments | 4 | 2022-04-15T16:43:44Z | 2022-05-02T16:57:29Z | https://github.com/sparklemotion/nokogiri/issues/2515 | 1,205,713,884 | 2,515 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
**What is the complete output of `gem install` or `bundle install`?**
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
the output goes here
`... | [install] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2514/comments | 0 | 2022-04-13T13:52:10Z | 2022-04-13T15:40:31Z | https://github.com/sparklemotion/nokogiri/issues/2514 | 1,203,334,015 | 2,514 |
[
"sparklemotion",
"nokogiri"
] | The Nokogiri::HTML4::EncodingReader class is used to try to detect encoding of HTML4 documents when they have ambiguous encoding.
Recently, [a REDOS vulnerability was found in this code](https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-crjr-9rc5-ghw8). There are other regular expressions which shou... | explore: removing or overhauling the EncodingReader | https://api.github.com/repos/sparklemotion/nokogiri/issues/2513/comments | 2 | 2022-04-11T21:41:19Z | 2024-12-16T17:21:23Z | https://github.com/sparklemotion/nokogiri/issues/2513 | 1,200,571,775 | 2,513 |
[
"sparklemotion",
"nokogiri"
] | - I have tried all the instructions on the below tutorial, looked at issues and cannot figure out why it would not work? (works fine on my Mac intel) . I have libxml2, and zlib both installed also through brew.
- Shouldn't a native version work on the M1 Max?
- `bundle platform` -> Your platform is: -darwin21
**Ha... | [install] Issue installing on Apple M1 Max | https://api.github.com/repos/sparklemotion/nokogiri/issues/2512/comments | 5 | 2022-04-11T12:28:54Z | 2023-07-11T18:49:53Z | https://github.com/sparklemotion/nokogiri/issues/2512 | 1,199,900,833 | 2,512 |
[
"sparklemotion",
"nokogiri"
] | **What problem are you trying to solve?**
I'm trying to parse a HTML document, encoded with `ASCII-8BIT` which features the `\xA0` character. Nokogiri seems to quietly stop parsing the document when encountering such a character, as per the examples below.
Is this expected behaviour? If so, what the recommended a... | [help] Nokogiri stops parsing @ ASCII-8BIT \xA0 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2511/comments | 13 | 2022-04-10T19:26:25Z | 2022-07-19T19:13:06Z | https://github.com/sparklemotion/nokogiri/issues/2511 | 1,199,149,110 | 2,511 |
[
"sparklemotion",
"nokogiri"
] | Looks like libxml2's `LIBXML_VERSION_STRING` and/or `xmlParserVersion` is being set to `209013` on FreeBSD instead of what we expect, which is `20913`, resulting in warnings messages like:
```
WARNING: Nokogiri was built against libxml version 2.9.13, but has dynamically loaded 20.90.13
```
| freebsd's libxml2 version info is incorrect | https://api.github.com/repos/sparklemotion/nokogiri/issues/2506/comments | 4 | 2022-04-06T14:49:30Z | 2022-04-27T19:23:04Z | https://github.com/sparklemotion/nokogiri/issues/2506 | 1,194,724,317 | 2,506 |
[
"sparklemotion",
"nokogiri"
] | I have just moved from an old Intel Mac Pro to a new Mac Studio with an M1 Max processor. My work requires running a Rails app in Docker, using a `ruby:2.7.4-slim-buster` image. This ships with glibc 2.28, and has no way of upgrading to 2.29 without compiling glibc from scratch, as far as I can see.
Switching buster... | [install] ruby:2.7.4-slim-buster Docker image on Apple Silicon | https://api.github.com/repos/sparklemotion/nokogiri/issues/2500/comments | 3 | 2022-04-06T13:06:14Z | 2022-04-06T16:00:03Z | https://github.com/sparklemotion/nokogiri/issues/2500 | 1,194,589,523 | 2,500 |
[
"sparklemotion",
"nokogiri"
] | If I reuse namespace prefixes for different nodes (such as when I use a blank XML namespace, i.e. xmlns=), I can get the wrong namespace when the node is reparented.
**Code that Causes the Error**
```ruby
#! /usr/bin/env ruby
require 'nokogiri'
doc = Nokogiri::XML("<root xmlns=\"urn:something\"><child1 xml... | [bug] Reparenting of nodes can get wrong namespaces when prefixes are reused | https://api.github.com/repos/sparklemotion/nokogiri/issues/2494/comments | 3 | 2022-04-03T04:22:19Z | 2024-07-03T18:48:33Z | https://github.com/sparklemotion/nokogiri/issues/2494 | 1,190,814,672 | 2,494 |
[
"sparklemotion",
"nokogiri"
] | I am using a css pseudo-selector and I worry it will disappear at some point.
```
# given a Nokogiri::HTML document or fragment @doc
@doc.css("*:contains('youtube:')").each do |tube|
...
```
...works perfectly. But when I search MDN and CSS-Tricks, I see that this selector is an accident of time. It used to ... | [help] Should I worry that contains() may disappear from the CSS selector syntax? | https://api.github.com/repos/sparklemotion/nokogiri/issues/2492/comments | 4 | 2022-04-02T19:14:32Z | 2022-04-02T21:43:13Z | https://github.com/sparklemotion/nokogiri/issues/2492 | 1,190,716,805 | 2,492 |
[
"sparklemotion",
"nokogiri"
] | See #1882 and #2095 for previous threads.
Conversation also happening in slack at https://graalvm.slack.com/archives/CMY63522F/p1648917137877149
---
Nokogiri patches live in https://github.com/oracle/truffleruby/blob/master/lib/truffle/truffle/patches/nokogiri_patches.rb
This approach is brittle in the face... | upstream remaining truffleruby patches | https://api.github.com/repos/sparklemotion/nokogiri/issues/2491/comments | 6 | 2022-04-02T16:51:43Z | 2022-10-12T18:06:41Z | https://github.com/sparklemotion/nokogiri/issues/2491 | 1,190,682,853 | 2,491 |
[
"sparklemotion",
"nokogiri"
] | Today, [gumbo-parser/src/util.c](https://github.com/sparklemotion/nokogiri/blob/9f080d0d3aaddf3aae439baf259749501860f028/gumbo-parser/src/util.c) uses malloc, realloc, and free directly.
It would be a nice feature to be able to override those memory functions the way libxml2's [xmlMemSetup](https://gnome.pages.gitla... | libgumbo should allow overriding the default memory functions | https://api.github.com/repos/sparklemotion/nokogiri/issues/2490/comments | 8 | 2022-04-02T15:48:31Z | 2022-05-07T22:41:45Z | https://github.com/sparklemotion/nokogiri/issues/2490 | 1,190,668,372 | 2,490 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
**What is the complete output of `gem install` or `bundle install`?**
You can find the output of the gem install [here](https://gitlab.com/honeyryderchuck/rodauth-oauth/-/jobs/22... | [install] nokogiri 1.13.3 on latest stable truffleruby | https://api.github.com/repos/sparklemotion/nokogiri/issues/2488/comments | 3 | 2022-03-31T08:10:47Z | 2022-03-31T21:19:03Z | https://github.com/sparklemotion/nokogiri/issues/2488 | 1,187,682,274 | 2,488 |
[
"sparklemotion",
"nokogiri"
] | Hello!
I'm using OpenBSD 7.0's official Ruby 3.0.3 package. I've replaced GCC with Clang in my environment, and restricted installs to user accounts for added security.
```
% pkg_add ruby-3.0.3
% echo "path+=(/home/basic/.local/share/gem/ruby/3.0/bin)" >> ~/.zprofile
% source ~/.zprofile
% cc --version
O... | [install] OpenBSD: Failed to build gem native extension on Ruby 3.0.3 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2487/comments | 10 | 2022-03-29T20:57:09Z | 2022-04-08T14:20:20Z | https://github.com/sparklemotion/nokogiri/issues/2487 | 1,185,405,294 | 2,487 |
[
"sparklemotion",
"nokogiri"
] | **What problem are you trying to solve?**
use alpine linux based container to process html that has the `macintosh` encoding
debian based
```
❯ docker run -it --rm ruby:bullseye bash
root@a70590422773:/# gem install nokogiri
Fetching nokogiri-1.13.3-aarch64-linux.gem
Successfully installed nokogiri-1.13.3-a... | [help] different availability of EncodingHandler based on platform | https://api.github.com/repos/sparklemotion/nokogiri/issues/2485/comments | 8 | 2022-03-29T11:02:12Z | 2022-03-30T14:46:24Z | https://github.com/sparklemotion/nokogiri/issues/2485 | 1,184,687,941 | 2,485 |
[
"sparklemotion",
"nokogiri"
] | I am upgrading Nokogiri to version 1.13.x and hitting a possible bug where an ampersand (`&`) in the URL is not treated as ampersand.
The code:
```ruby
require 'nokogiri'
doc = Nokogiri::XML::Builder.new(encoding: 'UTF-8') do |xml|
xml.root do
xml.string({}) {
xml << "ss <a href=\"http://www... | Ampersand (&) is no longer converted to & in link tags | https://api.github.com/repos/sparklemotion/nokogiri/issues/2483/comments | 11 | 2022-03-24T14:11:46Z | 2022-03-28T19:27:06Z | https://github.com/sparklemotion/nokogiri/issues/2483 | 1,179,575,804 | 2,483 |
[
"sparklemotion",
"nokogiri"
] | This is related to upstream discussion [[1]] which was triggered by my report in Fedora [[2]] (and of course also related to #2461). The issue is that on Fedora, we use system version of libxml for Nokogiri and we don't have the option to revert the behavior (unless reverting this for whole system which would probably ... | Revisit libxml 2.9.13 compatibility | https://api.github.com/repos/sparklemotion/nokogiri/issues/2479/comments | 5 | 2022-03-18T09:56:06Z | 2022-03-18T18:22:28Z | https://github.com/sparklemotion/nokogiri/issues/2479 | 1,173,402,082 | 2,479 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [< ] Yes!
.......
**What is the complete output of `gem install` or `bundle install`?**
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
the output goes here
```
... | [install]
tidelift: rubygems/nokogiri | https://api.github.com/repos/sparklemotion/nokogiri/issues/2474/comments | 1 | 2022-03-06T05:48:40Z | 2022-03-07T12:38:20Z | https://github.com/sparklemotion/nokogiri/issues/2474 | 1,160,525,614 | 2,474 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [ ] Yes!
**What is the complete output of `gem install` or `bundle install`?**
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
the output goes here
`... | [install] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2473/comments | 0 | 2022-03-04T00:14:41Z | 2022-03-04T14:22:00Z | https://github.com/sparklemotion/nokogiri/issues/2473 | 1,159,099,229 | 2,473 |
[
"sparklemotion",
"nokogiri"
] | `node.replace` method reorders the document position automatically if nesting a tag with the same tag (see example below)
```ruby
#! /usr/bin/env ruby
require 'nokogiri'
require 'minitest/autorun'
class Test < MiniTest::Spec
describe "Node#css" do
it "should replace top level <div> with <p> tag" do
... | [bug] `node.replace` method reorders the document position automatically if nesting a tag with the same tag | https://api.github.com/repos/sparklemotion/nokogiri/issues/2472/comments | 2 | 2022-03-03T18:28:23Z | 2022-03-04T15:57:46Z | https://github.com/sparklemotion/nokogiri/issues/2472 | 1,158,759,851 | 2,472 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
**What is the complete output of `gem install` or `bundle install`?**
```
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
[0m
current directory: /home/... | [install] OpenBSD: Failed to build gem native extension. | https://api.github.com/repos/sparklemotion/nokogiri/issues/2471/comments | 7 | 2022-03-02T10:48:01Z | 2022-05-10T15:50:22Z | https://github.com/sparklemotion/nokogiri/issues/2471 | 1,157,018,523 | 2,471 |
[
"sparklemotion",
"nokogiri"
] | Facing issue in docker setup after nokogiri gem version upgraded in rails 5.2.6.2. The app server is not running due to this error.
The issue is - /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found
Below are the configurations used
**OS**: MAC OS Big Sur
**Ruby version**: 2.6.7
**Rails version... | Nokogiri gem version upgraded after rails 5.2.6.2 is breaking the docker setup - version `GLIBC_2.29' not found | https://api.github.com/repos/sparklemotion/nokogiri/issues/2470/comments | 4 | 2022-02-28T14:32:25Z | 2022-04-11T12:53:33Z | https://github.com/sparklemotion/nokogiri/issues/2470 | 1,154,164,564 | 2,470 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
A recent breaking change to `to_xpath` to remove the default argument (made [here](https://github.com/sparklemotion/nokogiri/commit/b24efcca08cc93881c29c95a31c2068002b591ba)) broke [webrat](https://github.com/brynary/webrat).
[This requires locking the Devise Gemfile to a version of no... | Breaking Change in to_xpath method breaks webrat | https://api.github.com/repos/sparklemotion/nokogiri/issues/2469/comments | 9 | 2022-02-25T17:32:14Z | 2022-02-25T20:04:54Z | https://github.com/sparklemotion/nokogiri/issues/2469 | 1,150,692,609 | 2,469 |
[
"sparklemotion",
"nokogiri"
] | Recently upstream committed a fix for the issue that caused us to ship v1.13.3 (see https://gitlab.gnome.org/GNOME/libxml2/-/commit/4fd69f3e27e4ef2f8fafa091e723497017c40646)
As a result I would like to do two things:
- [x] make sure our tests for bare `<` characters take the new behavior into account
- [x] look ... | update nokogiri `main` to handle libxml2 `master` | https://api.github.com/repos/sparklemotion/nokogiri/issues/2468/comments | 3 | 2022-02-24T23:12:56Z | 2022-05-04T15:13:37Z | https://github.com/sparklemotion/nokogiri/issues/2468 | 1,149,864,319 | 2,468 |
[
"sparklemotion",
"nokogiri"
] | ## Problem to solve
Recently #2466 described the installation experience of a user on the arm/v7 platform, which compiles from source. The user compared this experience against the precompiled native gem experience on other platforms.
## How to solve it
`rake-compiler-dock` supports this architecture since v... | [feat] add precompiled native gem support for `arm-linux` (aka `arm/v7`, `arm-linux-gnueabihf`) | https://api.github.com/repos/sparklemotion/nokogiri/issues/2467/comments | 0 | 2022-02-23T13:22:52Z | 2022-05-08T01:25:24Z | https://github.com/sparklemotion/nokogiri/issues/2467 | 1,148,090,705 | 2,467 |
[
"sparklemotion",
"nokogiri"
] | It appears as 2cf26d97fccf81837baa68b2fdee19db04d36bc2 introduces a new dependency for linux/arm/v7. I now need to install `xz-utils` to decompress the new archive (was `.tar.gz` before, now `.tar.xz`). I build multi-arch Docker images of https://github.com/stefansundin/rssbox, and it only failed for linux/arm/v7, pres... | [install] xz-utils new dependency on linux/arm/v7 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2466/comments | 5 | 2022-02-22T17:43:13Z | 2022-05-08T01:26:20Z | https://github.com/sparklemotion/nokogiri/issues/2466 | 1,147,197,192 | 2,466 |
[
"sparklemotion",
"nokogiri"
] | I'm trying to install Nokogiri on OpenBSD 7.0 (amd_64) I got a compilation failure even with CFLAGS=-std=c99
Thank you for your help :)
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
**What is the complete output of `gem... | [install] gumbo.c compilation failure | https://api.github.com/repos/sparklemotion/nokogiri/issues/2464/comments | 10 | 2022-02-22T15:56:51Z | 2022-02-22T19:54:09Z | https://github.com/sparklemotion/nokogiri/issues/2464 | 1,147,084,450 | 2,464 |
[
"sparklemotion",
"nokogiri"
] | ### Summary
Nokogiri v1.13.2 shipped libxml 2.9.13. That version of libxml2 introduced a behavior change to how the HTML4 parser recovers when it sees a bare (ill-formed) `<` character (one that is not part of a start tag).
I've opened an issue upstream at https://gitlab.gnome.org/GNOME/libxml2/-/issues/339
##... | [bug] libxml 2.9.13 breaks HTML4 parser recovery from ill-formed `<` character | https://api.github.com/repos/sparklemotion/nokogiri/issues/2461/comments | 5 | 2022-02-21T20:24:27Z | 2022-02-22T04:56:33Z | https://github.com/sparklemotion/nokogiri/issues/2461 | 1,146,199,246 | 2,461 |
[
"sparklemotion",
"nokogiri"
] | libxml 2.9.13 was released on 2022-02-20. We're green (based on the [upstream CI job](https://github.com/sparklemotion/nokogiri/runs/5244505314?check_suite_focus=true)).
libxslt 1.1.35 was released on 2022-02-16. Also green.
- [x] patch and test on v1.13.x
- [x] port changes to main
- [x] prepare a GHSA
- [x] ... | Upgrade to libxml 2.9.13 and libxslt 1.1.35 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2455/comments | 4 | 2022-02-20T15:09:45Z | 2022-02-21T18:57:03Z | https://github.com/sparklemotion/nokogiri/issues/2455 | 1,145,046,661 | 2,455 |
[
"sparklemotion",
"nokogiri"
] | Opening this issue just to have some feedback on the issues targeting M1 processors, I'm just fed up of having to specify everyday to my numerous vs code workspaces which nokogiri version needs to be removed and then installed to have the bundle working.
I mean this can't be automatised in some way on your side ? Wh... | [install] Nokigiri M1 problems with Rails has to stop | https://api.github.com/repos/sparklemotion/nokogiri/issues/2452/comments | 2 | 2022-02-15T13:35:42Z | 2022-02-21T20:22:29Z | https://github.com/sparklemotion/nokogiri/issues/2452 | 1,138,705,636 | 2,452 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
HTML5 parser moves the last child text node of a `<form>` tag outside the tag (as next sibling). Example:
```ruby
Nokogiri::HTML5.fragment('<form>Some text here</form>').to_html
# => "<form></form>Some text here"
```
Expected behavior:
```ruby
Nokogiri::HTML5.fragment('<form>... | HTML5 parser moves last child text node of <form> tag outside the tag | https://api.github.com/repos/sparklemotion/nokogiri/issues/2450/comments | 3 | 2022-02-13T00:24:03Z | 2022-02-16T15:59:02Z | https://github.com/sparklemotion/nokogiri/issues/2450 | 1,134,859,945 | 2,450 |
[
"sparklemotion",
"nokogiri"
] | @stevecheckoway This week the upstream html5lib-tests we run in CI started failing, see for example:
- https://github.com/sparklemotion/nokogiri/runs/5169938003?check_suite_focus=true
It seems like this is probably not useful to run on every PR, but would be helpful to run periodically (once a week?) to give us s... | Run upstream html5lib-tests once weekly (not on every PR) | https://api.github.com/repos/sparklemotion/nokogiri/issues/2449/comments | 3 | 2022-02-12T22:19:17Z | 2022-02-21T20:22:42Z | https://github.com/sparklemotion/nokogiri/issues/2449 | 1,134,703,491 | 2,449 |
[
"sparklemotion",
"nokogiri"
] | This class exists only to manage libiconv encoding aliases, and does nothing in JRuby.
I think we should try to write more-meaningful tests, as well. | cleanup: Remove EncodingHandler from the JRuby implementation | https://api.github.com/repos/sparklemotion/nokogiri/issues/2446/comments | 0 | 2022-02-08T14:31:13Z | 2022-08-31T21:26:39Z | https://github.com/sparklemotion/nokogiri/issues/2446 | 1,127,333,638 | 2,446 |
[
"sparklemotion",
"nokogiri"
] | If users choose to use system libraries, it might be good to use https://rubygems.org/gems/native-package-installer/ to help users get up and running without having to find and read the [installation docs](https://nokogiri.org/tutorials/installing_nokogiri.html).
Example usage: https://github.com/rcairo/rcairo/blob/... | [feature] Consider using native-package-installer if users opt into system libraries | https://api.github.com/repos/sparklemotion/nokogiri/issues/2443/comments | 2 | 2022-02-01T19:00:51Z | 2024-07-03T18:34:47Z | https://github.com/sparklemotion/nokogiri/issues/2443 | 1,121,085,130 | 2,443 |
[
"sparklemotion",
"nokogiri"
] | This is a placeholder ticket to consider https://github.com/advisories/GHSA-h65f-jvqw-m9fj | update JRuby dependencies to xercesImpl 2.12.2 | https://api.github.com/repos/sparklemotion/nokogiri/issues/2441/comments | 0 | 2022-01-29T20:02:50Z | 2022-04-04T01:40:39Z | https://github.com/sparklemotion/nokogiri/issues/2441 | 1,118,315,185 | 2,441 |
[
"sparklemotion",
"nokogiri"
] | <!--
**Do not report Security Vulnerabilities here**
If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub.
-->
**Please describe the bug... | [bug] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2439/comments | 0 | 2022-01-27T09:03:42Z | 2022-01-27T15:14:32Z | https://github.com/sparklemotion/nokogiri/issues/2439 | 1,115,947,091 | 2,439 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [ ] Yes!
**What is the complete output of `gem install` or `bundle install`?**
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
the output goes here
`... | [install] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2438/comments | 0 | 2022-01-27T09:01:05Z | 2022-01-27T15:14:38Z | https://github.com/sparklemotion/nokogiri/issues/2438 | 1,115,944,501 | 2,438 |
[
"sparklemotion",
"nokogiri"
] | ## Problem summary
Currently Nokogiri's java native gem depends on patched versions of NekoDTD and NekoHTML. The binary artifacts only exist in Nokogiri's git repo and if I needed to reproduce them I would be starting from scratch.
## Historical context
In the past (e.g., 2e5ce32 in 2012 and 6166964 in 2015) w... | publish patched NekoDTD to Maven Central | https://api.github.com/repos/sparklemotion/nokogiri/issues/2437/comments | 7 | 2022-01-26T18:11:21Z | 2022-05-11T01:03:59Z | https://github.com/sparklemotion/nokogiri/issues/2437 | 1,115,336,204 | 2,437 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
If you parse an HTML string containing a `<s></s>` tag. The elements above the `<s></s>` tag are duplicated into a seperate child element without content and the other child with the actual content will have inverted order. Strangely this only seems to happen with `<s></s>` tags, all other ... | [bug][jruby] Strikethrough tag causes incorrect HTML parsing in JRuby | https://api.github.com/repos/sparklemotion/nokogiri/issues/2436/comments | 4 | 2022-01-26T10:39:42Z | 2022-05-10T22:07:34Z | https://github.com/sparklemotion/nokogiri/issues/2436 | 1,114,871,179 | 2,436 |
[
"sparklemotion",
"nokogiri"
] | **What problem are you trying to solve?**
<!--All
A clear and concise description of what you're trying to do. Please try to describe the problem you're solving, rather than the solution you're implementing -- avoid the XY Problem! http://xyproblem.info/
-->
Damn
Zhhsh
**Please show your code!**
<!--
If pos... | [help] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2433/comments | 0 | 2022-01-22T01:46:22Z | 2022-01-22T16:24:16Z | https://github.com/sparklemotion/nokogiri/issues/2433 | 1,111,174,779 | 2,433 |
[
"sparklemotion",
"nokogiri"
] | I'm using docker with docker compose on macbook air M1. When updating nokogiri from 1.12.5 to 1.13.1 on a new Rails 7 project the following error shows up. I already see the 1.13 implements `aarch64-linux` version and thats the problem when using the setup like mine.
NOTE: I built a similar docker environment to run... | [bug] cannot load such file -- nokogiri/nokogiri (v=1.13.1 on Mac M1 with Docker) | https://api.github.com/repos/sparklemotion/nokogiri/issues/2430/comments | 1 | 2022-01-19T14:40:21Z | 2022-01-19T16:39:07Z | https://github.com/sparklemotion/nokogiri/issues/2430 | 1,108,183,682 | 2,430 |
[
"sparklemotion",
"nokogiri"
] | Currently the minimum glibc is different between x86* and arm64 linux:
```ruby
#rakelib/extensions.rake
def dll_ref_versions
case platform
when X86_LINUX_PLATFORM_REGEX
{ "GLIBC" => "2.17" }
when ARM_LINUX_PLATFORM_REGEX
{ "GLIBC" => "2.29" }
else
raise "CrossRuby.dll_ref... | update GLIBC error message | https://api.github.com/repos/sparklemotion/nokogiri/issues/2427/comments | 1 | 2022-01-18T13:23:50Z | 2022-01-18T14:56:27Z | https://github.com/sparklemotion/nokogiri/issues/2427 | 1,106,905,979 | 2,427 |
[
"sparklemotion",
"nokogiri"
] | The following code used to work before 1.13.0:
```rb
fragments = Nokogiri::HTML5::fragment(html)
fragments.css("a/@href", "img/@src", "source/@src", "track/@src", "video/@poster")
```
Now it raises:
```
Nokogiri::XML::XPath::SyntaxError: ERROR: Invalid expression: .//*:a/*:@href | self::*:a/*:@href
```
... | [bug] Regression in 1.13.0 in DocumentFragment#css? | https://api.github.com/repos/sparklemotion/nokogiri/issues/2419/comments | 13 | 2022-01-10T23:50:04Z | 2022-01-13T16:52:49Z | https://github.com/sparklemotion/nokogiri/issues/2419 | 1,098,503,645 | 2,419 |
[
"sparklemotion",
"nokogiri"
] | In nokogiri 1.12 and before I was able to send integers to XSLT.quote_params:
```
Nokogiri::XSLT.quote_params(['foo', 123])
```
After upgrading to 1.13.0 this results in a TypeError:
```
*** TypeError Exception: no implicit conversion of Integer into String
``` | [bug] Regression in 1.13.0 in XSLT.quote_params | https://api.github.com/repos/sparklemotion/nokogiri/issues/2418/comments | 7 | 2022-01-10T14:53:28Z | 2022-01-13T16:52:43Z | https://github.com/sparklemotion/nokogiri/issues/2418 | 1,097,993,804 | 2,418 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
**What is the complete output of `gem install` or `bundle install`?**
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
ERROR: While executing... | gem repo server is responding with a 403 error [install] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2417/comments | 3 | 2022-01-09T14:52:08Z | 2022-01-10T19:55:32Z | https://github.com/sparklemotion/nokogiri/issues/2417 | 1,097,216,375 | 2,417 |
[
"sparklemotion",
"nokogiri"
] | After running `bundle update`, Nokogiri updated to *v1.13.0* from *v1.12.5* and successfully updated. But after starting **rails server**, the following error is showing!
```bash
$ rails s
/data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bootsnap-1.9.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.r... | [bug] v1.13.0 fails to load on aarch64-linux through Termux app | https://api.github.com/repos/sparklemotion/nokogiri/issues/2416/comments | 16 | 2022-01-09T10:18:26Z | 2022-10-19T12:25:46Z | https://github.com/sparklemotion/nokogiri/issues/2416 | 1,097,157,385 | 2,416 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [X ] Yes!
**What is the complete output of `gem install` or `bundle install`?**
```
$ gem install nokogiri
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad resp... | [install] 403 Forbidden on RubyGems during gem install | https://api.github.com/repos/sparklemotion/nokogiri/issues/2415/comments | 6 | 2022-01-07T19:35:57Z | 2022-11-17T13:42:05Z | https://github.com/sparklemotion/nokogiri/issues/2415 | 1,096,611,250 | 2,415 |
[
"sparklemotion",
"nokogiri"
] | Running nokogiri v1.13.0 on alpine arm images fails to load likely because it requires a musl compiled package
**Help us reproduce what you're seeing**
Reproduction steps for ARM based OS:
```
docker run --rm -it ruby:2.7.5-alpine sh
gem install nokogiri
irb
require 'nokogiri'
->> LoadError (cannot load... | [bug] v1.13.0 fails to load on ARM alpine linux | https://api.github.com/repos/sparklemotion/nokogiri/issues/2414/comments | 3 | 2022-01-07T18:40:21Z | 2022-01-08T01:21:46Z | https://github.com/sparklemotion/nokogiri/issues/2414 | 1,096,571,825 | 2,414 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
<!--
A clear and concise description of what the bug is. Please include as much context as you can about what's going on.
-->
[nokogiri v1.13.0](https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.0) explicitly removed support for ruby versions < v2.6, which according to the... | [bug] nokogiri v1.13.0 breaks backwards compatibility (should be v2.0. not v1.13.0) | https://api.github.com/repos/sparklemotion/nokogiri/issues/2413/comments | 4 | 2022-01-06T22:41:27Z | 2022-01-06T23:28:29Z | https://github.com/sparklemotion/nokogiri/issues/2413 | 1,095,765,031 | 2,413 |
[
"sparklemotion",
"nokogiri"
] | https://github.com/sparklemotion/nokogiri/blob/55029bfba481338825c99e78af2b182b1cc49e04/ext/java/nokogiri/internals/c14n/UtfHelpper.java#L51
since the Canonicalizer process input String character by character. Java uses 16 bits to represent a character; when the input string contains Unicode characters whose code p... | JRuby: UtfHelpper.writeCharToUtf8 cannot handle unicode supplementary character | https://api.github.com/repos/sparklemotion/nokogiri/issues/2410/comments | 9 | 2022-01-05T07:09:46Z | 2024-12-08T18:21:26Z | https://github.com/sparklemotion/nokogiri/issues/2410 | 1,094,047,590 | 2,410 |
[
"sparklemotion",
"nokogiri"
] | #### According to the instructions of installation process, I tried to install the Nokogiri gem in **Termux**, but this is causing some errors for a couple of days with the following outputs:
```bash
$ gem install nokogiri -- --use-system-libraries
Building native extensions with: '--use-system-libraries'
This co... | Nokogiri gem isn't installing in Termux application | https://api.github.com/repos/sparklemotion/nokogiri/issues/2404/comments | 3 | 2022-01-03T18:37:50Z | 2022-01-04T15:24:35Z | https://github.com/sparklemotion/nokogiri/issues/2404 | 1,092,730,226 | 2,404 |
[
"sparklemotion",
"nokogiri"
] | This is a placeholder to ship a new version of Nokogiri with Ruby 3.1 precompiled native support.
Please note that **Nokogiri supports Ruby 3.1**, but until a precompiled native gem is shipped, you will have to use the `ruby` vanilla platform gem which will compile from source during installation. Modern `bundler` w... | Ship Ruby 3.1 precompiled native support | https://api.github.com/repos/sparklemotion/nokogiri/issues/2397/comments | 36 | 2021-12-24T14:39:31Z | 2023-01-09T20:45:47Z | https://github.com/sparklemotion/nokogiri/issues/2397 | 1,088,410,622 | 2,397 |
[
"sparklemotion",
"nokogiri"
] | Hi there,
I've been running into some issues where my method is called by a terminated object. This is most likely related to some external libraries used by `nokogiri` as I don't think this is something that can happen in pure ruby due to how the garbage collection works.
My bug report isn't going to be the most... | [bug] Call on terminated object | https://api.github.com/repos/sparklemotion/nokogiri/issues/2393/comments | 5 | 2021-12-21T20:21:01Z | 2022-01-18T16:03:18Z | https://github.com/sparklemotion/nokogiri/issues/2393 | 1,086,202,424 | 2,393 |
[
"sparklemotion",
"nokogiri"
] | Good morning.
I use nokogiri in diverse scripts to extract information from Web-Sites, notably translations from online-dictionaries, conjugations of French verbs and synonymes in German or French.
nokogiri 1.12.5 crashed upon a call to `nokogiri -e [expression]` in one script but not in another. This points at **an ... | [bug] missing exception handling | https://api.github.com/repos/sparklemotion/nokogiri/issues/2392/comments | 8 | 2021-12-21T06:06:30Z | 2021-12-22T14:51:51Z | https://github.com/sparklemotion/nokogiri/issues/2392 | 1,085,471,823 | 2,392 |
[
"sparklemotion",
"nokogiri"
] | While running a long running job that basically scrapes 20 pages from a website multiple times, I sporadically get the following error and the Ruby process dies. It's a fairly long running process and I'm still working on making a bare-minimum reproducible case I can share here.
Starting this early to see if there ... | [bug] Segmentation fault related to concurrency | https://api.github.com/repos/sparklemotion/nokogiri/issues/2390/comments | 8 | 2021-12-20T02:55:33Z | 2021-12-24T18:50:48Z | https://github.com/sparklemotion/nokogiri/issues/2390 | 1,084,299,439 | 2,390 |
[
"sparklemotion",
"nokogiri"
] | Seen at https://github.com/sparklemotion/nokogiri/runs/4549544439?check_suite_focus=true#step:7:4016
```text
16,720 (336 direct, 16,384 indirect) bytes in 1 blocks are definitely lost in loss record 37,802 of 38,098
calloc (vg_replace_malloc.c:760)
calloc1 (gc.c:1583)
heap_page_allocate (gc.c:1812)
heap... | [ruby_memcheck] failures spotted in CI | https://api.github.com/repos/sparklemotion/nokogiri/issues/2389/comments | 3 | 2021-12-16T23:07:01Z | 2022-11-22T06:32:54Z | https://github.com/sparklemotion/nokogiri/issues/2389 | 1,082,718,124 | 2,389 |
[
"sparklemotion",
"nokogiri"
] | Hi everybody,
this request is about RPM packaging issues, so I'm not sure if this is something supported by this project, but it is related to `nogokiri` and I want to try to post this request here, maybe to at least get some nudges in the right direction.
The situation is the following: I have two RPM packages t... | [help] package conflicts due to included build-ids | https://api.github.com/repos/sparklemotion/nokogiri/issues/2381/comments | 2 | 2021-12-08T16:51:29Z | 2021-12-24T14:34:17Z | https://github.com/sparklemotion/nokogiri/issues/2381 | 1,074,616,896 | 2,381 |
[
"sparklemotion",
"nokogiri"
] | <!--
**Do not report Security Vulnerabilities here**
If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub.
-->
**Please describe the bug... | [bug] Nokogiri/JRuby line numbering off by one when XML prolog is in the source document | https://api.github.com/repos/sparklemotion/nokogiri/issues/2380/comments | 10 | 2021-12-08T02:29:37Z | 2021-12-22T18:38:17Z | https://github.com/sparklemotion/nokogiri/issues/2380 | 1,073,943,322 | 2,380 |
[
"sparklemotion",
"nokogiri"
] | `bundle doctor` reports the following:
```
The following gems are missing OS dependencies:
* nokogiri: /usr/lib/libSystem.B.dylib
* nokogiri: /usr/lib/liblzma.5.dylib
* nokogiri: /usr/lib/libobjc.A.dylib
```
gem "nokogiri"
That's how to reproduce it in the `Gemfile`.
```
➜ nokogiri -v
# Nokog... | Apple Silicon MacOS Monterey Missing OS Dependencies | https://api.github.com/repos/sparklemotion/nokogiri/issues/2378/comments | 9 | 2021-11-28T21:30:01Z | 2021-11-29T23:29:03Z | https://github.com/sparklemotion/nokogiri/issues/2378 | 1,065,441,594 | 2,378 |
[
"sparklemotion",
"nokogiri"
] | After upgrading to Nokogiri v1.12.0, I am unable to target inline svg elements via css or xpath selectors. Sample console commands:
```
html = <<-HTML.strip_heredoc
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>s... | [bug] HTML5 foreign element namespaces should not be required by CSS queries | https://api.github.com/repos/sparklemotion/nokogiri/issues/2376/comments | 21 | 2021-11-25T00:00:42Z | 2022-01-06T20:21:11Z | https://github.com/sparklemotion/nokogiri/issues/2376 | 1,063,009,472 | 2,376 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [ ] Yes!
**What is the complete output of `gem install` or `bundle install`?**
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
the output goes here
```
**If i... | [install] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2374/comments | 1 | 2021-11-21T09:32:41Z | 2021-11-21T21:27:33Z | https://github.com/sparklemotion/nokogiri/issues/2374 | 1,059,332,793 | 2,374 |
[
"sparklemotion",
"nokogiri"
] | When using the XML builder, exceptions that escape a node's block will cause that node to become the parent of sibling nodes.
For example, this:
```ruby
builder = Nokogiri::XML::Builder.new do |xml|
xml.my_root do
begin
xml.a do
xml.a1
xml.a2
raise StandardError.new
... | [bug] XML::Builder blocks don't restore the parent node when an error is raised from the block | https://api.github.com/repos/sparklemotion/nokogiri/issues/2372/comments | 3 | 2021-11-17T18:09:26Z | 2021-11-23T22:15:25Z | https://github.com/sparklemotion/nokogiri/issues/2372 | 1,056,436,463 | 2,372 |
[
"sparklemotion",
"nokogiri"
] | **Please describe the bug**
Nokogiri permits invalid "xml:id" attributes.
```ruby
doc = Nokogiri.XML('<bad id="////"></bad>')
doc.xpath('//bad').first['id']
=> "////"
```
This id value is not valid according to the spec https://www.w3.org/TR/xml-id/#syntax The value of an "xml:id" attribute must an NCName... | Invalid xml:id permitted in XML documents | https://api.github.com/repos/sparklemotion/nokogiri/issues/2364/comments | 4 | 2021-11-08T17:24:23Z | 2021-11-12T19:28:00Z | https://github.com/sparklemotion/nokogiri/issues/2364 | 1,047,713,444 | 2,364 |
[
"sparklemotion",
"nokogiri"
] | **Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?**
- [x] Yes!
**What is the complete output of `gem install` or `bundle install`?**
<!-- Please make sure to escape the file contents with triple-backticks. -->
```
$ bundle install
Using... | [install] | https://api.github.com/repos/sparklemotion/nokogiri/issues/2363/comments | 2 | 2021-11-07T21:54:47Z | 2021-11-12T18:54:58Z | https://github.com/sparklemotion/nokogiri/issues/2363 | 1,046,859,222 | 2,363 |
[
"sparklemotion",
"nokogiri"
] | I'd like some level of testing on ARM64 Linux if we're going to start shipping `aarch64-linux` native gems (see #2332).
Azure / Github Actions don't appear to support ARM64 Linux, so I guess AWS EC2 Graviton instances are the best bet?
Some docs about setting up an EC2 self-hosted runner are here:
> https://g... | set up aarch64-linux runner for github actions | https://api.github.com/repos/sparklemotion/nokogiri/issues/2362/comments | 4 | 2021-11-06T17:15:01Z | 2022-01-17T12:22:06Z | https://github.com/sparklemotion/nokogiri/issues/2362 | 1,046,554,044 | 2,362 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.