diff options
| author | 2025-09-15 13:40:14 +0200 | |
|---|---|---|
| committer | 2025-09-15 13:40:14 +0200 | |
| commit | bb56f59fcf245c00ce7738f077955a3b2ca42606 (patch) | |
| tree | 05a9b97890ec6f47bb9704396642efe56986108d /lib/simplepie | |
| parent | 29446a29f58b484817e6c9798c736e5f531c21ee (diff) | |
SimplePie merge upstream (#7967)
* https://github.com/simplepie/simplepie/pull/936 (Normalize encoding uppercase)
Diffstat (limited to 'lib/simplepie')
| -rw-r--r-- | lib/simplepie/simplepie/src/XML/Declaration/Parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
