• Yuwei Huang's avatar
    [remoting][FTL] Normalize FTL ID · 43a7e9dc
    Yuwei Huang authored
    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: default avatarJoe Downing <joedow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#664848}
    43a7e9dc
jid_util.h 1.46 KB