From 707a940399c501c4f1989b0a9721ff319e5f8dab Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 29 Jan 2023 22:10:03 +0000 Subject: [PATCH] add nofollow to zip links --- copyparty/httpcli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 84214b87..946e71ce 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -3491,7 +3491,9 @@ class HttpCli(object): if self.args.no_zip: margin = "DIR" else: - margin = 'zip'.format(quotep(href)) + margin = 'zip'.format( + quotep(href) + ) elif fn in hist: margin = '#{}'.format( base, html_escape(hist[fn][2], quot=True, crlf=True), hist[fn][0]