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
Describe the bug
".txt" is added at the end of the filename when downloading some files with Brave Android (at the receiving end).
This happens only with some filename's extensions or no extension at all.
Here few extensions I tested:
affected extensions:
.kdbx / .backup / no extension
non affected extension:
.jpg / .pdf / .webm / .txt
To Reproduce
Steps to reproduce the behavior:
Go to pairdrop.net
Send a .kdbx file to the android device with Brave (or one of the affected)
download the file with Brave
open the file manager and check the extension
Expected behavior
filename is unchanged
Desktop (please complete the following information):
OS: debian 12
Browser Firefox
Version 128.5.0esr
Smartphone (please complete the following information):
Device: samsung a52q
OS: eOS (LineageOS)
Browser Brave
Version 1.73.97
Bug occurs on official PairDrop instance https://pairdrop.net/
Yes
Version: v1.10.10
The text was updated successfully, but these errors were encountered:
Seemingly, this is done by the browser, maybe as a convenience feature to prevent people from downloading "broken" files?
The appending of ".txt" when there is no extension present is also done by Desktop Chromium 129.
I have no idea whether I can prevent the browser from adding a extension and will look into it.
Apart from that, PairDrop wrongly uses the complete name as the file extension when showing the ReceiveDialogs. These lines need to check if there is a point at all like:
I have no idea whether I can prevent the browser from adding a extension and will look into it.
Apparently, adding the mime type application/octet-stream to files that lack a mime type does the trick. Otherwise chromium seemingly assumes that the file is a text file and adds a ".txt" automatically.
## Fixes
- Fix PWA install button on chromium based browsers (#383) (Thanks @realchrislovett)
- Fix wrong file extension on chromium based browsers if mime type is not set (#355)
## Languages
- Translations updates from Hosted Weblate (Japanese)
Describe the bug
".txt" is added at the end of the filename when downloading some files with Brave Android (at the receiving end).
This happens only with some filename's extensions or no extension at all.
Here few extensions I tested:
affected extensions:
.kdbx / .backup / no extension
non affected extension:
.jpg / .pdf / .webm / .txt
To Reproduce
Steps to reproduce the behavior:
Expected behavior
filename is unchanged
Desktop (please complete the following information):
Smartphone (please complete the following information):
Bug occurs on official PairDrop instance https://pairdrop.net/
Yes
Version: v1.10.10
The text was updated successfully, but these errors were encountered: