From 4fa7be2a48013cd156685afe7957dcac44ade0d3 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 1 Aug 2025 19:56:16 +0000 Subject: [PATCH] change "ack" to "continue"; longer text so easier to tap on mobile, and less confusing for people who aren't network engineers and/or kernel hackers thx @JanluOfficial for the idea --- copyparty/httpcli.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 5ce45a38..8f28fe5e 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -2940,7 +2940,7 @@ class HttpCli(object): msg = "new password OK" redir = (self.args.SRS + "?h") if ok else "" - h2 = 'ack' + h2 = 'continue' html = self.j2s("msg", h1=msg, h2=h2, redir=redir) self.reply(html.encode("utf-8")) return True @@ -2969,7 +2969,8 @@ class HttpCli(object): dst += "_=1#" + html_escape(uhash, True, True) _, msg = self.get_pwd_cookie(pwd) - html = self.j2s("msg", h1=msg, h2='ack', redir=dst) + h2 = 'continue' + html = self.j2s("msg", h1=msg, h2=h2, redir=dst) self.reply(html.encode("utf-8")) return True @@ -2983,7 +2984,7 @@ class HttpCli(object): self.get_pwd_cookie("x") dst = self.args.SRS + "?h" - h2 = 'ack' + h2 = 'continue' html = self.j2s("msg", h1="ok bye", h2=h2, redir=dst) self.reply(html.encode("utf-8")) return True