mirror of
https://github.com/9001/copyparty.git
synced 2026-03-31 12:33:05 +10:00
return 404 on browsing folders with g
This commit is contained in:
@@ -1845,6 +1845,9 @@ class HttpCli(object):
|
||||
|
||||
return self.tx_file(abspath)
|
||||
|
||||
elif is_dir and not self.can_read and not self.can_write:
|
||||
return self.tx_404()
|
||||
|
||||
srv_info = []
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user