-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove fields that should actually never be used. The idea is that the non-normalised parts MUST actually have never been used for comparison, and are therefore not really needed. If only for printing and using them in the `to` and `from` attributes of a stanza, clients SHOULD also stringprep anyway, so the fact that the server might provide non-normalised strings might be a problem for clients who're not enforced to normalise them. I've also been verifying how many other XMPP implementations tackle this issue, and I've seen many other servers, and also a bunch of client frameworks, simply capturing the parts and normalising them, and building data structures that keep only their normalised pieces.
- Loading branch information
1 parent
bd28c4a
commit a2b09d3
Showing
4 changed files
with
13 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters