aboutsummaryrefslogtreecommitdiff
path: root/libweb
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2025-01-23 23:21:44 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2025-01-23 23:37:39 +0100
commit9752843329a257542c34798d65e829a6cff7764b (patch)
treeb834d2d3dd4c27cae03f3d2c663644ecae3d1a8d /libweb
parent5c4e226ddcd132c0dfa9a9cf096d3b3f8fc3c171 (diff)
downloadslcl-9752843329a257542c34798d65e829a6cff7764b.tar.gz
main.c: Forbid sharing non-existing files
So far, slcl would allow to share literally any directory or file, even if they did not exist, as long as valid credentials were given. Now, directories cannot be shared, since this is already restricted by the web interface. This is now considered an invalid request. On the other hand, attempting to share non-existing files shall now return a 404 Not Found response to the user.
Diffstat (limited to 'libweb')
0 files changed, 0 insertions, 0 deletions