Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use or autodetect MIMEType of file and give it an extension #11

Open
antonizoon opened this issue Feb 2, 2019 · 1 comment
Open

Use or autodetect MIMEType of file and give it an extension #11

antonizoon opened this issue Feb 2, 2019 · 1 comment

Comments

@antonizoon
Copy link

antonizoon commented Feb 2, 2019

Signal has a MIMEType for each image in its sqlite database which is reliable enough to write file extensions for. This is critical since Windows for example relies solely on file extensions to detect file type, and HTTP servers typically does the same.

As can be seen in Signal-back, it writes file extensions for attachment filenames to disk:

https://github.com/xeals/signal-back/blob/7b9bc2112afa24316da1e2c515e067f69f91d5c4/cmd/extract.go#L116

While I would try to use signal-back instead, it crashes on backup dumps of my size (3-5GB).

@mutlusun
Copy link
Contributor

mutlusun commented Mar 4, 2021

Hello,

this is fixed in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants