WIP for invalid UTF-8 resilience

This commit is contained in:
Scott Kitterman committed 2020-08-09 13:50:40 -04:00
1 parent 88c17516d9
commit 44d8924060
4 files changed
+7 -5

No files matched your search

+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, "<[email protected]>") ~= nil then
if mt.mailfrom(conn, "<alicü[email protected]> (Alicþþÿÿe)") ~= nil then
error "mt.mailfrom() failed"
end
if mt.getreply(conn) ~= SMFIR_CONTINUE then