[remoting][FTL] Normalize FTL ID
FTL currently returns raw email address so NormalizeJid() seems to work out of the box. But they do plan to change it to a more aggresive canonical form, which will cause users with email addresses with dots fail to generate signatures or validate sender/receiver. This CL implements the new normalization logic that will be used when normalizing an FTL ID. Bug: 968368 Change-Id: Ic7fa27e183124096563a6a7b4e337479e7edbb1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636594 Commit-Queue: Yuwei Huang <yuweih@chromium.org> Reviewed-by:Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#664848}
Showing
Please register or sign in to comment