We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a107ec + e9d13be commit 01aab62Copy full SHA for 01aab62
box/core/kchat.php
@@ -184,7 +184,7 @@ function msgencode($txt){
184
}
185
186
function msgdecode($txt){
187
- return json_decode('"'.$txt.'"', 1);
+ return htmlspecialchars(json_decode('"'.$txt.'"', 1));
188
189
190
function isReq($id){
kchat/lib/global.php
@@ -217,7 +217,7 @@ function msgencode($data,$txt){
217
218
219
function msgdecode($data,$txt){
220
221
222
223
function menu($data,$key,$value){
0 commit comments