diff options
author | Edwin Mons <edwin.mons@isode.com> | 2018-10-24 20:40:51 (GMT) |
---|---|---|
committer | Edwin Mons <edwin.mons@isode.com> | 2018-10-25 09:18:39 (GMT) |
commit | 5ce9e19ef0744f530a797c30a82e9723eb7ea306 (patch) | |
tree | f3f59b3e9a7dddff75fd222d15b3492c26bb86be /Swiften/TLS/PrivateKey.cpp | |
parent | f0b7ffcea9b9983555b0555ea5815a193d1e129c (diff) | |
download | swift-5ce9e19ef0744f530a797c30a82e9723eb7ea306.zip swift-5ce9e19ef0744f530a797c30a82e9723eb7ea306.tar.bz2 |
Strip off trailing dot from domainpart of jid
RFC 6122 specifies that if a domainpart ends in a dot, it must be
stripped off before any other canonicalisation steps are taken.
Unit tests have been added to check that various JID scenarios with a
domain ending in a dot pass or are rejected as expected.
Test-Information:
Unit tests pass on macOS 10.13.
Manual tests in sluift show expected behaviour.
Change-Id: Id6813aaa4422a81bff0a4559eacd6855ef104dc3
Diffstat (limited to 'Swiften/TLS/PrivateKey.cpp')
0 files changed, 0 insertions, 0 deletions