mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-26 15:00:06 +00:00
Sanitize email subject + body
This commit is contained in:
parent
5293573116
commit
d7a8d2d453
@ -664,8 +664,8 @@ void BuddyManager::emailSend(CNSocket* sock, CNPacketData* data) {
|
|||||||
plr->iID, // SenderID
|
plr->iID, // SenderID
|
||||||
U16toU8(plr->PCStyle.szFirstName), // SenderFirstName
|
U16toU8(plr->PCStyle.szFirstName), // SenderFirstName
|
||||||
U16toU8(plr->PCStyle.szLastName), // SenderLastName
|
U16toU8(plr->PCStyle.szLastName), // SenderLastName
|
||||||
U16toU8(pkt->szSubject), // SubjectLine
|
ChatManager::sanitizeText(U16toU8(pkt->szSubject)), // SubjectLine
|
||||||
U16toU8(pkt->szContent), // MsgBody
|
ChatManager::sanitizeText(U16toU8(pkt->szContent)), // MsgBody
|
||||||
pkt->iCash, // Taros
|
pkt->iCash, // Taros
|
||||||
(uint64_t)getTimestamp(), // SendTime
|
(uint64_t)getTimestamp(), // SendTime
|
||||||
0 // DeleteTime (unimplemented)
|
0 // DeleteTime (unimplemented)
|
||||||
|
Loading…
Reference in New Issue
Block a user