mirror of
https://github.com/9001/copyparty.git
synced 2025-11-02 04:53:15 +00:00
trailing newline for plaintext folder listings
This commit is contained in:
@@ -1911,7 +1911,7 @@ class HttpCli(object):
|
||||
ret = json.dumps(ls)
|
||||
mime = "application/json"
|
||||
|
||||
self.reply(ret.encode("utf-8", "replace"), mime=mime)
|
||||
self.reply(ret.encode("utf-8", "replace") + b"\n", mime=mime)
|
||||
return True
|
||||
|
||||
def tx_browser(self):
|
||||
|
||||
Reference in New Issue
Block a user