Software /
code /
prosody
Changeset
12770:249bf1a53866
util.jid: Add test for invalid domain but valid UTF-8 (thanks jonas)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 11 Oct 2022 15:41:05 +0100 |
parents | 12769:27e1d4354274 |
children | 12771:e9fcc69ea508 |
files | spec/util_jid_spec.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/spec/util_jid_spec.lua Tue Oct 11 13:35:09 2022 +0100 +++ b/spec/util_jid_spec.lua Tue Oct 11 15:41:05 2022 +0100 @@ -83,6 +83,7 @@ end); it("should fail for JIDs that fail stringprep", function () test("node@invalid-\128-server", nil, nil, nil); + test("node@invalid-\194\128-server", nil, nil, nil); test("<invalid node>@server", nil, nil, nil); test("node@server/invalid-\000-resource", nil, nil, nil); end);