From 2385331622cd66bc4c1ba8a264df6306e5f33f11 Mon Sep 17 00:00:00 2001 From: kim Date: Sat, 17 Oct 2026 18:03:13 +0900 Subject: [PATCH] =?UTF-8?q?ab-replay:=20=EB=A9=94=EB=AA=A8=EB=A6=AC=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8?= =?UTF-8?q?=EC=9D=98=20=EB=A7=88=ED=81=AC=EB=8B=A4=EC=9A=B4=20=EB=B0=B1?= =?UTF-8?q?=ED=8B=B1=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- scripts/ab-replay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ab-replay.py b/scripts/ab-replay.py index 6e6d02c..b86c527 100644 --- a/scripts/ab-replay.py +++ b/scripts/ab-replay.py @@ -43,7 +43,7 @@ def login(): pw = os.environ.get("HC_PASSWORD") if not pw: txt = open(CRED_FILE, encoding="utf-8").read() - pw = re.search(r"password\s*=\s*(\S+)", txt).group(1) + pw = re.search(r"password\s*=\s*(\S+)", txt).group(1).strip("`'\"*,;") # 마크다운 백틱 제거 req = urllib.request.Request(BASE + "/api/auth/login", json.dumps({"username": USER, "password": pw}).encode(), {"Content-Type": "application/json"}) data = json.loads(urllib.request.urlopen(req, timeout=20).read())