mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#851 Context::convertEncodingStr의 불필요한 사용 제거
This commit is contained in:
parent
8fb57dbb8e
commit
b77ffb1af9
2 changed files with 5 additions and 1 deletions
|
|
@ -1072,6 +1072,7 @@ class Context
|
|||
*/
|
||||
function convertEncodingStr($str)
|
||||
{
|
||||
if(!$str) return null;
|
||||
$obj = new stdClass();
|
||||
$obj->str = $str;
|
||||
$obj = self::convertEncoding($obj);
|
||||
|
|
|
|||
|
|
@ -59,7 +59,10 @@ class ModuleHandler extends Handler
|
|||
$this->mid = $mid ? $mid : Context::get('mid');
|
||||
$this->document_srl = $document_srl ? (int) $document_srl : (int) Context::get('document_srl');
|
||||
$this->module_srl = $module_srl ? (int) $module_srl : (int) Context::get('module_srl');
|
||||
$this->entry = Context::convertEncodingStr(Context::get('entry'));
|
||||
if($entry = Context::get('entry'))
|
||||
{
|
||||
$this->entry = Context::convertEncodingStr($entry);
|
||||
}
|
||||
|
||||
// Validate variables to prevent XSS
|
||||
$isInvalid = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue