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
{{ message }}
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
Some chat names, eg. "a/b/c", when using with MediaFilenameFmt = usermedia/{name}-{context_id}/{type}-{filename}
can create folders like "usermedia/a/b/c--123456/document-filename.123.txt"
This is not intended and unsafe (like a/../../b), and also have problems with other filesystem filename restrictions. Please really sanitize the chat name, sender name and file names. For example, replace " * / : < > ? \ | characters with _.
The text was updated successfully, but these errors were encountered:
Some chat names, eg. "a/b/c", when using with
MediaFilenameFmt = usermedia/{name}-{context_id}/{type}-{filename}
can create folders like "usermedia/a/b/c--123456/document-filename.123.txt"
This is not intended and unsafe (like
a/../../b
), and also have problems with other filesystem filename restrictions. Please really sanitize the chat name, sender name and file names. For example, replace" * / : < > ? \ |
characters with_
.The text was updated successfully, but these errors were encountered: