Abhishekmishra2808 commented on code in PR #608:
URL: 
https://github.com/apache/tooling-trusted-releases/pull/608#discussion_r2742302089


##########
atr/mail.py:
##########
@@ -98,7 +106,8 @@ async def send(message: Message) -> tuple[str, list[str]]:
 
 async def _send_many(from_addr: str, to_addrs: list[str], msg_text: str) -> 
list[str]:
     """Send an email to multiple recipients."""
-    message_bytes = bytes(msg_text, "utf-8")
+    # Logic change: convert to bytes here to satisfy the internal relay 
expectation
+    message_bytes = msg_text.encode("utf-8")

Review Comment:
   Acknowledged. I have reverted the style change from .encode("utf-8") back to 
the original bytes(msg_text, "utf-8") to keep this PR strictly focused on the 
security mitigation and avoid unnecessary style churn.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to