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

Issue 348433002: Verify the host-supplied URL matches the domain's allowed URL patterns (Closed)

Created:
6 years, 6 months ago by kelvinp
Modified:
6 years, 6 months ago
Reviewers:
Lambros, rmsousa
CC:
chromium-reviews, chromoting-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Verify the host-supplied URL matches the domain's allowed URL patterns. 1. Modify HostInfo.java to parse the tokenPatternUrl from the host list. 2. Modify ThirdPartyTokenFetcher to check against the domain's allowed URL before directing the user to the login page requested by the host. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278337

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Address Lambros' feedbacks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -37 lines) Patch
M remoting/android/java/src/org/chromium/chromoting/Chromoting.java View 1 3 chunks +9 lines, -7 lines 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/HostInfo.java View 1 2 chunks +41 lines, -1 line 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/HostListLoader.java View 1 chunk +1 line, -6 lines 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/ThirdPartyTokenFetcher.java View 1 3 chunks +42 lines, -23 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
kelvinp
6 years, 6 months ago (2014-06-18 21:03:12 UTC) #1
rmsousa
lgtm
6 years, 6 months ago (2014-06-18 21:23:57 UTC) #2
Lambros
lgtm with comments (please run findbugs before landing) https://codereview.chromium.org/348433002/diff/40001/remoting/android/java/src/org/chromium/chromoting/HostInfo.java File remoting/android/java/src/org/chromium/chromoting/HostInfo.java (right): https://codereview.chromium.org/348433002/diff/40001/remoting/android/java/src/org/chromium/chromoting/HostInfo.java#newcode19 remoting/android/java/src/org/chromium/chromoting/HostInfo.java:19: public ...
6 years, 6 months ago (2014-06-18 23:29:06 UTC) #3
kelvinp
FYI. New pack uploaded. I ran findbugs and made sure that there are no new ...
6 years, 6 months ago (2014-06-19 01:03:50 UTC) #4
kelvinp
The CQ bit was checked by kelvinp@chromium.org
6 years, 6 months ago (2014-06-19 01:03:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kelvinp@chromium.org/348433002/60001
6 years, 6 months ago (2014-06-19 01:06:38 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 11:58:36 UTC) #7
Message was sent while issue was closed.
Change committed as 278337

Powered by Google App Engine
This is Rietveld 408576698