From 492360b097d1e1a5b8d29e9d794c964baee6e5f5 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Wed, 24 Jun 2026 18:46:58 +0800 Subject: [PATCH] =?UTF-8?q?Cookie=20=E5=AF=BC=E5=87=BA=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=A0=BC=E5=BC=8F=EF=BC=9A=E6=8D=A2=E8=A1=8C=E7=AC=A6?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20Windows=20=E6=A0=BC=E5=BC=8F=EF=BC=88CRLF?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/backend/routers/cookies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/backend/routers/cookies.py b/web/backend/routers/cookies.py index df970f4..6625962 100644 --- a/web/backend/routers/cookies.py +++ b/web/backend/routers/cookies.py @@ -103,7 +103,7 @@ def export_cookies( password = acc.password if acc else "" ck = t.cookie or "" lines.append(f"{username}----{password}----{ck}") - content = "\n".join(lines) + content = "\r\n".join(lines) filename = "cookies_custom.txt" media = "text/plain" else: