summaryrefslogtreecommitdiff
path: root/libsoup/soup-content-sniffer.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2017-07-03 09:37:40 -0400
committerDan Winship <danw@gnome.org>2017-07-03 09:37:40 -0400
commit46a777a879a877ee9306beee0876a51a67b95ed5 (patch)
tree23a06d3fb181fdbab857bc1cbf79a8b9ee226a2b /libsoup/soup-content-sniffer.c
parentaefe8eac4f5b6a3df823224a38f3d20fb2308579 (diff)
downloadlibsoup-46a777a879a877ee9306beee0876a51a67b95ed5.tar.gz
Fix sniffing of un-Content-Typed XML
https://bugs.webkit.org/show_bug.cgi?id=173923
Diffstat (limited to 'libsoup/soup-content-sniffer.c')
-rw-r--r--libsoup/soup-content-sniffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c
index 15177827..8b4b8052 100644
--- a/libsoup/soup-content-sniffer.c
+++ b/libsoup/soup-content-sniffer.c
@@ -420,7 +420,7 @@ static SoupContentSnifferPattern types_table[] = {
(const guchar *)"\x00\xFF\xFF\xFF\xFF\xFF",
(const guchar *)" <?xml",
5,
- "text/html",
+ "text/xml",
TRUE },
{ FALSE, FALSE,