mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
return 404 on browsing folders with g
This commit is contained in:
parent
a6788ffe8d
commit
2ad12b074b
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue