1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00
Files
archived-php-src/ext
Christoph M. Becker f901bec494 Fix #51903: simplexml_load_file() doesn't use HTTP headers
The `encoding` attribute of the XML declaration is optional; it is good
practice to use external encoding information where available if it is
missing.  Thus, we check for `charset` info of `Content-Type` headers,
and see whether the encoding is supported.

We cater to trailing parameters and quoted-strings, but not to escaped
backslashes and quotes in quoted-strings, since no known character
encoding contains these anyway.

Co-authored-by: Michael Wallner <mike@php.net>

Closes GH-6747.
2021-03-08 15:07:01 +01:00
..
2021-02-02 10:31:16 +01:00
2021-01-25 10:44:05 +00:00
2020-08-31 09:32:55 +02:00
2020-10-30 15:47:18 +01:00
2020-06-23 16:00:11 +02:00
2020-08-24 17:36:50 +02:00
2020-10-15 10:16:56 +02:00
2020-10-09 15:24:53 +02:00
2020-10-22 17:05:07 +01:00
2020-07-28 10:27:22 +02:00
2020-10-26 15:40:12 +01:00
2021-02-25 09:51:51 +01:00
2021-02-02 16:46:16 +01:00
2020-10-29 13:09:19 +01:00
2021-02-25 13:52:35 +01:00
2020-10-28 12:18:02 +01:00
2020-08-05 10:39:30 +02:00
2020-05-13 23:25:28 +02:00
2020-11-02 11:39:42 +01:00
2020-08-26 12:11:22 +02:00
2020-08-10 12:25:26 +02:00
2020-10-30 15:47:18 +01:00