missed escape on email receive
This commit is contained in:
parent
e9a0d07f3a
commit
2ee1b00c9c
|
@ -68,6 +68,7 @@ function dfrn_notify_post(&$a) {
|
||||||
$msg['parent-uri'] = notags(unxmlify($base['in-reply-to'][0]['data']));
|
$msg['parent-uri'] = notags(unxmlify($base['in-reply-to'][0]['data']));
|
||||||
$msg['created'] = datetime_convert(notags(unxmlify('UTC','UTC',$base['sentdate'][0]['data'])));
|
$msg['created'] = datetime_convert(notags(unxmlify('UTC','UTC',$base['sentdate'][0]['data'])));
|
||||||
|
|
||||||
|
dbesc_array($msg);
|
||||||
|
|
||||||
$r = q("INSERT INTO `mail` (`" . implode("`, `", array_keys($msg))
|
$r = q("INSERT INTO `mail` (`" . implode("`, `", array_keys($msg))
|
||||||
. "`) VALUES ('" . implode("', '", array_values($msg)) . "')" );
|
. "`) VALUES ('" . implode("', '", array_values($msg)) . "')" );
|
||||||
|
|
Loading…
Reference in a new issue