server
server copied to clipboard
File share link still active after double delete
Steps to reproduce
- Create a file or folder for a user.
- Share this file using 'share link' (optionally set a password)
- Delete file and also delete from deleted files.
Expected behaviour
The link should give a message that the file is no longer shared or something along the lines.
Actual behaviour
The link still works, even though you get a "file not found" error. When a password is set, it lets you enter the password only to get the "file not found" error as a surprise.
Also: shared links are still counted in admin -> monitoring under [shares]. So even nothing is shared in real life, it can still say 20.
Since files are deleted from trash, there is no way to unshare them, keeping the link active and counted in the admin page.
Server configuration
NextCloudPi, latest version, clean install.
I'm not an advanced programmer of any sorts, so my apologies if I did not provide some data, I will happily supply it if told how to :)