Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Issue 1131653002: Use lower-case JIDs when generating signatures for messages sent to CRD bot. (Closed)

Created:
5 years, 7 months ago by Sergey Ulanov
Modified:
5 years, 7 months ago
Reviewers:
rmsousa
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Normalize JIDs when generating signatures for messages sent to CRD bot. When generating signatures for the messages sent to the bot the JID must be normalized, i.e. node and domain parts must be in lower-case. XmppSignalStrategy::GetLocalJid() was previously returning normalized value, but it was changed recently, which broke hosts that use account with upper-case characters in the name. BUG=485134 Committed: https://crrev.com/8916cd0a41e708d4c00e96dae7960cb9e634794e Cr-Commit-Position: refs/heads/master@{#328646}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -8 lines) Patch
M remoting/host/heartbeat_sender.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M remoting/host/heartbeat_sender_unittest.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M remoting/host/register_support_host_request.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M remoting/host/register_support_host_request_unittest.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/remoting_test.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
A remoting/signaling/jid_util.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
A remoting/signaling/jid_util.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download
A remoting/signaling/jid_util_unittest.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Sergey Ulanov
5 years, 7 months ago (2015-05-06 17:34:49 UTC) #2
Sergey Ulanov
Actually this patch doesn't work correctly - only node and domain should be in lower-case, ...
5 years, 7 months ago (2015-05-06 18:12:45 UTC) #3
Sergey Ulanov
This is ready for review now
5 years, 7 months ago (2015-05-06 19:19:29 UTC) #5
rmsousa
lgtm lgtm however, is xmppsignalstrategy::getlocaljid something that we control now? given that the jid that'll ...
5 years, 7 months ago (2015-05-06 21:23:47 UTC) #6
Sergey Ulanov
On 2015/05/06 21:23:47, rmsousa wrote: > lgtm > > lgtm > > however, is xmppsignalstrategy::getlocaljid ...
5 years, 7 months ago (2015-05-06 22:11:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131653002/40001
5 years, 7 months ago (2015-05-06 22:12:45 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 7 months ago (2015-05-06 23:00:26 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-06 23:01:23 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8916cd0a41e708d4c00e96dae7960cb9e634794e
Cr-Commit-Position: refs/heads/master@{#328646}

Powered by Google App Engine
This is Rietveld 408576698