You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "dxbjavid (via GitHub)" <gi...@apache.org> on 2026/06/01 21:03:01 UTC

[PR] double leading dot on first line in DotTerminatedMessageWriter [commons-net]

dxbjavid opened a new pull request, #398:
URL: https://github.com/apache/commons-net/pull/398

   DotTerminatedMessageWriter starts in NOTHING_SPECIAL_STATE, so a period at the very start of the message isn't doubled even though it's the start of a line. A body beginning with "." then CRLF therefore ends the data phase early (SMTP DATA, NNTP POST, POP3), letting the following text be read as protocol commands. Initialize the state to LAST_WAS_NL_STATE so the message start is treated as a line start, matching the reader's un-stuffing.


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Double leading dot on first line in DotTerminatedMessageWriter [commons-net]

Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory merged PR #398:
URL: https://github.com/apache/commons-net/pull/398


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] double leading dot on first line in DotTerminatedMessageWriter [commons-net]

Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #398:
URL: https://github.com/apache/commons-net/pull/398#issuecomment-4762258455

   In my review queue...


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] double leading dot on first line in DotTerminatedMessageWriter [commons-net]

Posted by "dxbjavid (via GitHub)" <gi...@apache.org>.
dxbjavid commented on PR #398:
URL: https://github.com/apache/commons-net/pull/398#issuecomment-4762225962

   Hi team,
   
   Just checking in on this PR. I wanted to see if there are any updates regarding review or next steps.
   
   Please let me know if any further changes are required from my side.
   
   Thank you!
   


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Double leading dot on first line in DotTerminatedMessageWriter [commons-net]

Posted by "dxbjavid (via GitHub)" <gi...@apache.org>.
dxbjavid commented on PR #398:
URL: https://github.com/apache/commons-net/pull/398#issuecomment-4766647339

   Thank you for the review and merge. Appreciated


-- 
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: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org