You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The prefix and suffix come from the attachment name, which is user-provided and may not result in a valid filename, and an error when the contents are written to disk.
We should not base the filename on text from the incoming email, and should double-check that these files are closed at the end of the request to free disk space.
The text was updated successfully, but these errors were encountered:
When an attachment exceeds 150KB, it is written to disk rather than held in memory:
fx-private-relay/emails/views.py
Lines 748 to 752 in 04fbbdd
The
prefix
andsuffix
come from the attachment name, which is user-provided and may not result in a valid filename, and an error when the contents are written to disk.We should not base the filename on text from the incoming email, and should double-check that these files are closed at the end of the request to free disk space.
The text was updated successfully, but these errors were encountered: