From e474604749945fe14be05ca5f1ea442738879003 Mon Sep 17 00:00:00 2001 From: haneul Date: Mon, 10 May 2010 07:06:19 +0000 Subject: [PATCH] #18872164 : fixed the error "Invalid XML" due to IE6 bug git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7425 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/display/DisplayHandler.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/display/DisplayHandler.class.php b/classes/display/DisplayHandler.class.php index ced476279..258042d90 100644 --- a/classes/display/DisplayHandler.class.php +++ b/classes/display/DisplayHandler.class.php @@ -32,7 +32,10 @@ // request method에 따른 컨텐츠 결과물 추출 if(Context::get('xeVirtualRequestMethod')=='xml') $output = $this->_toVirtualXmlDoc($oModule); - else if(Context::getRequestMethod() == 'XMLRPC') $output = $this->_toXmlDoc($oModule); + else if(Context::getRequestMethod() == 'XMLRPC') { + if(stripos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) $this->gz_enabled = false; + $output = $this->_toXmlDoc($oModule); + } else if(Context::getRequestMethod() == 'JSON') $output = $this->_toJSON($oModule); else $output = $this->_toHTMLDoc($oModule);