mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 10:39:29 +02:00
Do not use ~ts format in string that are put in xmpp payload
We are expecting utf8 data here, and using that flag will convert those to unicode codepoints, which aren't handled properly later.
This commit is contained in:
parent
299360c8ed
commit
75094df25e
11 changed files with 36 additions and 36 deletions
|
@ -495,7 +495,7 @@ report_not_jid(From, Packet, Dests) ->
|
|||
|| Dest <- Dests],
|
||||
[route_error(
|
||||
xmpp:set_from_to(Packet, From, From), jid_malformed,
|
||||
str:format(?T("This service can not process the address: ~ts"), [D]))
|
||||
str:format(?T("This service can not process the address: ~s"), [D]))
|
||||
|| D <- Dests2].
|
||||
|
||||
%%%-------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue