mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
Encoding of entry should be UTF-8. This rev. will help the connection problem of URI with entry.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6942 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
214bcaf9f8
commit
c3687c1cf8
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@
|
||||||
if(!$module_srl) $this->module_srl = (int)Context::get('module_srl');
|
if(!$module_srl) $this->module_srl = (int)Context::get('module_srl');
|
||||||
else $this->module_srl = (int)$module_srl;
|
else $this->module_srl = (int)$module_srl;
|
||||||
|
|
||||||
$this->entry = Context::get('entry');
|
$this->entry = Context::convertEncodingStr(Context::get('entry'));
|
||||||
|
|
||||||
// Validate variables to prevent XSS
|
// Validate variables to prevent XSS
|
||||||
if($this->module && !preg_match("/^([a-z0-9\_\-]+)$/i",$this->module)) die(Context::getLang("msg_invalid_request"));
|
if($this->module && !preg_match("/^([a-z0-9\_\-]+)$/i",$this->module)) die(Context::getLang("msg_invalid_request"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue