diff --git a/core/allnet.py b/core/allnet.py index 011cc74..3cd7b6d 100644 --- a/core/allnet.py +++ b/core/allnet.py @@ -359,7 +359,7 @@ class AllnetServlet: iv = bytes([random.randint(2, 255) for _ in range(16)]) return PlainTextResponse(content=self.enc_lite(litekey, iv, resp_str)) - return PlainTextResponse(resp_str) + return PlainTextResponse(resp_str.encode(req.encode)) async def handle_dlorder(self, request: Request): request_ip = Utils.get_ip_addr(request)