WIP for invalid UTF-8 resilience

This commit is contained in:
Scott Kitterman
2020-08-09 13:50:40 -04:00
parent 88c17516d9
commit 44d8924060
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ function connect_and_send (sockname, headers, body)
end
-- mt.macro(conn, SMFIC_MAIL, "i", "simple-message")
if mt.mailfrom(conn, "<alice@example.net>") ~= nil then
if mt.mailfrom(conn, "<alicüe@example.net> (Alicþþÿÿe)") ~= nil then
error "mt.mailfrom() failed"
end
if mt.getreply(conn) ~= SMFIR_CONTINUE then