mirror of
https://github.com/onionshare/onionshare.git
synced 2025-04-21 16:06:38 -04:00
Include trailing '/' on directory links in file list mode.
This allows directory contents to properly reference included resources using relative links.
This commit is contained in:
parent
6979ef4803
commit
727c01fb75
@ -169,7 +169,7 @@ class SendBaseModeWeb:
|
||||
|
||||
if is_dir:
|
||||
dirs.append(
|
||||
{"link": os.path.join(f"/{path}", filename), "basename": filename}
|
||||
{"link": os.path.join(f"/{path}", filename, ""), "basename": filename}
|
||||
)
|
||||
else:
|
||||
size = os.path.getsize(this_filesystem_path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user