mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +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
|
||||
U16toU8(plr->PCStyle.szFirstName), // SenderFirstName
|
||||
U16toU8(plr->PCStyle.szLastName), // SenderLastName
|
||||
U16toU8(pkt->szSubject), // SubjectLine
|
||||
U16toU8(pkt->szContent), // MsgBody
|
||||
ChatManager::sanitizeText(U16toU8(pkt->szSubject)), // SubjectLine
|
||||
ChatManager::sanitizeText(U16toU8(pkt->szContent)), // MsgBody
|
||||
pkt->iCash, // Taros
|
||||
(uint64_t)getTimestamp(), // SendTime
|
||||
0 // DeleteTime (unimplemented)
|
||||
|
Loading…
Reference in New Issue
Block a user