mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
특정 입력 값에 대한 escape 처리를 스킨 출력 시 적용되지 않는 문제 고침
- @kijin 님께서 알려주셨습니다
This commit is contained in:
parent
6679dbf181
commit
ac953cc216
1 changed files with 3 additions and 7 deletions
|
|
@ -39,8 +39,9 @@ class HTMLDisplayHandler
|
|||
{
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
|
||||
// compile module tpl
|
||||
// deprecated themes skin
|
||||
// SECISSUE https://github.com/xpressengine/xe-core/issues/1583
|
||||
$oSecurity = new Security();
|
||||
$oSecurity->encodeHTML('is_keyword', 'search_keyword', 'search_target', 'order_target', 'order_type');
|
||||
|
||||
$template_path = $oModule->getTemplatePath();
|
||||
|
||||
|
|
@ -83,13 +84,8 @@ class HTMLDisplayHandler
|
|||
}
|
||||
|
||||
$tpl_file = $oModule->getTemplateFile();
|
||||
|
||||
$output = $oTemplate->compile($template_path, $tpl_file);
|
||||
|
||||
// SECISSUE https://github.com/xpressengine/xe-core/issues/1583
|
||||
$oSecurity = new Security();
|
||||
$oSecurity->encodeHTML('is_keyword', 'search_keyword', 'search_target', 'order_target', 'order_type');
|
||||
|
||||
// add .x div for adminitration pages
|
||||
if(Context::getResponseMethod() == 'HTML')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue