[CRuby] XML::Reader sets the @encoding instance variable during reading if it is not passed into the initializer. Previously, it would remain nil. The behavior of Reader#encoding has not changed. This works around changes to how libxml2 reports the encoding used in v2.12.6.
[CRuby] XML::Reader sets the @encoding instance variable during reading if it is not passed into the initializer. Previously, it would remain nil. The behavior of Reader#encoding has not changed. This works around changes to how libxml2 reports the encoding used in v2.12.6.
v1.16.2 / 2024-02-04
Security
[CRuby] Vendored libxml2 is updated to address CVE-2024-25062. See GHSA-xc9x-jj77-9p9j for more information.
[CRuby] XML::Reader defaults the encoding to UTF-8 if it's not specified in either the document or as a method parameter. Previously non-ASCII characters were serialized as NCRs in this case. #2891 (@flavorjones)
[CRuby] Restored support for compilation by GCC versions earlier than 4.6, which was broken in v1.15.0 (540e9aee). #3090 (@adfoster-r7)
[CRuby] Patched upstream libxml2 to allow parsing HTML5 in the context of a namespaced node (e.g., foreign content like MathML). [#3112, #3116] (@flavorjones)
[CRuby] Fixed a small memory leak in libgumbo (HTML5 parser) when the maximum tree depth limit is hit. [#3098, #3100] (@stevecheckoway)
All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference Keep A Changelog.
Rack::Utils.escape_html is now delegated to CGI.escapeHTML. ' is escaped to [#39](https://github.com/rack/rack/issues/39); instead of #x27;. (decimal vs hexadecimal) (#2099, @JunichiIto)
Changed
rack.input is now optional, and if missing, will raise an error. Use this to fail on multipart parsing a request without an input body. (#2018, [@ioquatix])
Introduce module Rack::BadRequest which is included in multipart and query parser errors. (#2019, [@ioquatix])
MIME type for JavaScript files (.js) changed from application/javascript to text/javascript (1bd0f15)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/obl-ong/admin/network/alerts).
Bumps the bundler group with 3 updates in the / directory: rack-cors, nokogiri and yard.
Updates
rack-cors
from 2.0.1 to 2.0.2Changelog
Sourced from rack-cors's changelog.
Commits
8780639
Update changelog7231de7
Bump rack-cors to 2.0.2b30b86d
Fix rubocope823594
Fix typo in README.md (#267)8f50607
Escape $ in ressource paths compile (#270)555ac46
Mocha 2.0+ / Minitest 5.19+ compatibility (#266)202b85d
Exclude test in gemb0e06a0
Move Host matching note into troubleshooting507894e
Fix test (#262)Updates
nokogiri
from 1.16.0 to 1.16.3Release notes
Sourced from nokogiri's releases.
... (truncated)
Changelog
Sourced from nokogiri's changelog.
Commits
80fb608
version bump to v1.16.3710bd96
dep: update libxml 2.12.6 (branch v1.16.x) (#3151)461a96e
fix: Reader#read sets@encoding
if it is unset801f978
dep: update libxml2 to v2.12.6673756f
version bump to v1.16.274ffd67
dep: update libxml to 2.12.5 (branch v1.16.x) (#3122)0d4018d
dep: update libxml2 to v2.12.5f33a25f
dep: remove patch from #3112 which has been released upstreame994168
version bump to v1.16.177ea2f2
dev: add files to manifest ignore listUpdates
rack
from 3.0.9 to 3.0.9.1Release notes
Sourced from rack's releases.
Changelog
Sourced from rack's changelog.
Commits
a4bc5e0
bump version6efb2ce
Avoid 2nd degree polynomial regexp in MediaType4849132
Return an empty array when ranges are too largea227cd7
Fixing ReDoS in header parsingUpdates
yard
from 0.9.34 to 0.9.36Release notes
Sourced from yard's releases.
Changelog
Sourced from yard's changelog.
Commits
e833aac
Tag release v0.9.361fcb2d8
Merge pull request #1538 from RedYetiDev/patch-2a831a59
Fix semicolon2a0b999
assign url_for_main to a variable3059017
Merge pull request #1519 from mtasaka/ruby33_test_fixc88406e
Update frames.erb7cb3fc5
Merge pull request #1524 from frsantos/fix_tuple_docs04e4c9a
Merge pull request #1531 from rafaelfranca/rm-ruby-3.3ebf5005
Tag release v0.9.3562e18b4
Prepare changelogDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show