From 0b71116c956b8a0e4f77593b50d7bad98cd965cb Mon Sep 17 00:00:00 2001 From: Hivert Quentin Date: Wed, 14 Oct 2026 11:07:46 +0200 Subject: [PATCH] fix(draft): check the name of the draft --- SoObjects/Mailer/SOGoDraftObject.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SoObjects/Mailer/SOGoDraftObject.m b/SoObjects/Mailer/SOGoDraftObject.m index 14045226c..b64325fe2 100644 --- a/SoObjects/Mailer/SOGoDraftObject.m +++ b/SoObjects/Mailer/SOGoDraftObject.m @@ -176,7 +176,8 @@ static NSString *userAgent = nil; { if (!path) { - path = [[self userSpoolFolderPath] stringByAppendingPathComponent: nameInContainer]; + + path = [[self userSpoolFolderPath] stringByAppendingPathComponent: [nameInContainer asSafeFilename]]; [path retain]; }