handle_retr (proxy_server.py:271) writes the raw body and then a "." terminator with no byte-stuffing.
RFC 1939 requires, for multi-line responses:
Any line beginning with "." must be byte-stuffed with a leading ".".
The body must be CRLF-terminated before the "."CRLF terminator.
A message containing a line starting with "." (e.g. ".signature") or a body not ending in CRLF will truncate or corrupt the transfer.
Fix:
Normalise line endings to CRLF.
Byte-stuff lines beginning with ".".
Emit the terminating "."CRLF on its own line.
Acceptance:
A message body containing a line beginning with "." is transferred intact.
handle_retr (proxy_server.py:271) writes the raw body and then a "." terminator with no byte-stuffing.
RFC 1939 requires, for multi-line responses:
- Any line beginning with "." must be byte-stuffed with a leading ".".
- The body must be CRLF-terminated before the "."CRLF terminator.
A message containing a line starting with "." (e.g. ".signature") or a body not ending in CRLF will truncate or corrupt the transfer.
Fix:
- Normalise line endings to CRLF.
- Byte-stuff lines beginning with ".".
- Emit the terminating "."CRLF on its own line.
Acceptance:
- A message body containing a line beginning with "." is transferred intact.
lyrathorpe
added the bug label 2026-06-17 17:12:07 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
handle_retr (proxy_server.py:271) writes the raw body and then a "." terminator with no byte-stuffing.
RFC 1939 requires, for multi-line responses:
A message containing a line starting with "." (e.g. ".signature") or a body not ending in CRLF will truncate or corrupt the transfer.
Fix:
Acceptance: