nextcloud-filelink
nextcloud-filelink copied to clipboard
nextcloud-filelink does not work properly when attaching network files
Bug report
Bug report
Steps to reproduce
- write an email and attach a file located on a network path (\node\share...)
- the link is generated and inserted into the email
- send the email
network path is a folder shared by windows 10 (from another computer in the local network)
Expected behaviour
The email is sent with a download link and not with an attached large file
Actual behaviour
The email is sent with a download link AND with the attached large file. Upload to owncloud and sharing works! The attached file is on owncloud and shared. The link also works properly. BUT: the large file is sent as an attachment. There is no indication of an error.
Using a local file as attachment works fine.
Server configuration
Operating system
Web server:
Database:
PHP version:
Nextcloud version: (see admin page or version.php) owncloud 10.0.6.1 Updated from an older installation or fresh install: fresh install List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local folder, smb share, sftp, etc.
Are you using encryption: yes/no no
Web server error log
Cloud log
Desktop configuration
Operating system: Windows 10 Thunderbird version: 52.6.0 (32 bit) Updated from an older installation or fresh install: updated
Thunderbird Log
This is actually a bug of the filelink component of Thunderbird itself: https://bugzilla.mozilla.org/show_bug.cgi?id=793118
The problem occurs only when I drag'n'drop a file from a network share. If the share is mounted as the disc, or when I add a file from network share via menu, the problem does not occur.
So, a workaround is to mount the network share as a drive.