mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix disappearing validator message due to XE 1.8.29 security patch
- xpressengine/xe-core#2020 - https://www.xetown.com/qna/491042
This commit is contained in:
parent
f193b8380d
commit
bef2e35f84
1 changed files with 4 additions and 0 deletions
|
|
@ -1458,6 +1458,10 @@ class Context
|
|||
{
|
||||
$result[$k] = urlencode($v);
|
||||
}
|
||||
elseif($key === 'xe_validator_id')
|
||||
{
|
||||
$result[$k] = htmlspecialchars($v, ENT_COMPAT | ENT_HTML401, 'UTF-8', FALSE);
|
||||
}
|
||||
elseif(starts_with('XE_VALIDATOR_', $key, false))
|
||||
{
|
||||
unset($result[$k]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue