DeskDirector / Issues

Issue Tracker for DeskDirector
2 stars 0 forks source link

Server sanitize file name when upload as attachment #190

Closed Nness closed 4 years ago

Nness commented 4 years ago

Our server should sanitize file name just in case such incident will ever happen again.

Our server is first gateway to other receiver. Same as blob storage, we should guarantee file name contain correct char.

Path.GetInvalidFileNameChars. Use that to identify invalid file chars for now. Also make sure file name length not exceed 200 chars.