From 9fb83fe10737269ce2ca2151bd59d906ce57df6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 29 Aug 2003 09:59:00 +0000 Subject: [PATCH] Content-Type parsing should be case insensitive git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlpars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index 7ea373b394..7b9837a025 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -875,7 +875,7 @@ bool wxMetaTagHandler::HandleTag(const wxHtmlTag& tag) tag.GetParam(_T("HTTP-EQUIV")).IsSameAs(_T("Content-Type"), FALSE) && tag.HasParam(_T("CONTENT"))) { - wxString content = tag.GetParam(_T("CONTENT")); + wxString content = tag.GetParam(_T("CONTENT")).Lower(); if (content.Left(19) == _T("text/html; charset=")) { *m_retval = content.Mid(19);