diff options
| author | 2025-09-15 13:40:14 +0200 | |
|---|---|---|
| committer | 2025-09-15 13:40:14 +0200 | |
| commit | bb56f59fcf245c00ce7738f077955a3b2ca42606 (patch) | |
| tree | 05a9b97890ec6f47bb9704396642efe56986108d /lib | |
| parent | 29446a29f58b484817e6c9798c736e5f531c21ee (diff) | |
SimplePie merge upstream (#7967)
* https://github.com/simplepie/simplepie/pull/936 (Normalize encoding uppercase)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/composer.json | 2 | ||||
| -rw-r--r-- | lib/simplepie/simplepie/src/XML/Declaration/Parser.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/composer.json b/lib/composer.json index 1e4b34c55..bbdd70f86 100644 --- a/lib/composer.json +++ b/lib/composer.json @@ -14,7 +14,7 @@ "marienfressinaud/lib_opml": "0.5.1", "phpgt/cssxpath": "v1.3.0", "phpmailer/phpmailer": "6.10.0", - "simplepie/simplepie": "dev-freshrss#bb2cea342635b1b54fc34a0f0a1001e55d15064a" + "simplepie/simplepie": "dev-freshrss#d381ca57e9c57e251a47de2b577846503c3030ce" }, "config": { "sort-packages": true, diff --git a/lib/simplepie/simplepie/src/XML/Declaration/Parser.php b/lib/simplepie/simplepie/src/XML/Declaration/Parser.php index 1fcd22b9f..51023059c 100644 --- a/lib/simplepie/simplepie/src/XML/Declaration/Parser.php +++ b/lib/simplepie/simplepie/src/XML/Declaration/Parser.php @@ -242,7 +242,7 @@ class Parser public function encoding_value(): void { if ($encoding = $this->get_value()) { - $this->encoding = $encoding; + $this->encoding = strtoupper($encoding); $this->skip_whitespace(); if ($this->has_data()) { $this->state = self::STATE_STANDALONE_NAME; |
