SimplePie merge upstream (#7967)

* https://github.com/simplepie/simplepie/pull/936 (Normalize encoding uppercase)
This commit is contained in:
Alexandre Alapetite
2025-09-15 13:40:14 +02:00
committed by GitHub
parent 29446a29f5
commit bb56f59fcf
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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;