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

Issue 817103002: Only take basename of default_file_name when starting a File Chooser. (Closed)

Created:
6 years ago by Will Harris
Modified:
5 years, 10 months ago
Reviewers:
Lei Zhang, nasko
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only take basename of default_file_name when starting a File Chooser. Validate no ViewHostMsg_RunFileChooser messages received in the browser contain no path elements. BUG=444198 TEST=content_browsertests Committed: https://crrev.com/815c487fa677cf5413ed22e181437c1107300d49 Cr-Commit-Position: refs/heads/master@{#318111}

Patch Set 1 #

Total comments: 1

Patch Set 2 : change to filter at the IPC #

Total comments: 1

Patch Set 3 : add test #

Patch Set 4 : POSIX fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -1 line) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/security_exploit_browsertest.cc View 1 2 3 3 chunks +42 lines, -0 lines 1 comment Download
M content/renderer/render_view_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (4 generated)
Will Harris
6 years ago (2014-12-20 00:49:02 UTC) #2
Lei Zhang
Can we change the renderer to only send the base name and sanity check that ...
6 years ago (2014-12-20 01:08:58 UTC) #3
Will Harris
On 2014/12/20 01:08:58, Lei Zhang wrote: > Can we change the renderer to only send ...
6 years ago (2014-12-20 01:17:41 UTC) #4
Lei Zhang
On 2014/12/20 01:17:41, Will Harris wrote: > On 2014/12/20 01:08:58, Lei Zhang wrote: > > ...
6 years ago (2014-12-20 02:03:34 UTC) #5
Will Harris
PTAL
6 years ago (2014-12-23 20:32:51 UTC) #6
Will Harris
On 2014/12/23 20:32:51, Will Harris wrote: > PTAL festive ping
5 years, 11 months ago (2014-12-30 11:05:03 UTC) #7
Will Harris
nasko@chromium.org: Please review changes when you get back from vacation!
5 years, 11 months ago (2014-12-30 15:28:23 UTC) #9
nasko
The code looks good, but it will be nice to have a test for this ...
5 years, 11 months ago (2015-01-02 16:48:14 UTC) #10
Will Harris
On 2015/01/02 16:48:14, nasko (Out till 2015) wrote: > The code looks good, but it ...
5 years, 11 months ago (2015-01-02 16:51:52 UTC) #11
nasko
There are a couple of options - you can write a test and fake the ...
5 years, 11 months ago (2015-01-02 17:02:59 UTC) #12
Lei Zhang
Happy new year pong! https://codereview.chromium.org/817103002/diff/20001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://codereview.chromium.org/817103002/diff/20001/content/browser/renderer_host/render_view_host_impl.cc#newcode1451 content/browser/renderer_host/render_view_host_impl.cc:1451: if (params.default_file_name.IsAbsolute()) { Should we ...
5 years, 11 months ago (2015-01-05 22:43:55 UTC) #14
Will Harris
On 2015/01/05 22:43:55, Lei Zhang wrote: > Happy new year pong! > > https://codereview.chromium.org/817103002/diff/20001/content/browser/renderer_host/render_view_host_impl.cc > ...
5 years, 10 months ago (2015-02-24 21:05:11 UTC) #15
Will Harris
PTAL - added some tests.
5 years, 10 months ago (2015-02-25 01:21:21 UTC) #16
Lei Zhang
lgtm
5 years, 10 months ago (2015-02-25 01:27:58 UTC) #17
nasko
Looks good, but I have a question about the test. https://codereview.chromium.org/817103002/diff/60001/content/browser/security_exploit_browsertest.cc File content/browser/security_exploit_browsertest.cc (right): https://codereview.chromium.org/817103002/diff/60001/content/browser/security_exploit_browsertest.cc#newcode120 ...
5 years, 10 months ago (2015-02-25 15:14:45 UTC) #18
Will Harris
On 2015/02/25 15:14:45, nasko wrote: > Looks good, but I have a question about the ...
5 years, 10 months ago (2015-02-25 17:24:39 UTC) #19
Will Harris
On 2015/02/25 17:24:39, Will Harris wrote: > On 2015/02/25 15:14:45, nasko wrote: > > Looks ...
5 years, 10 months ago (2015-02-25 17:35:19 UTC) #20
nasko
LGTM
5 years, 10 months ago (2015-02-25 18:08:44 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817103002/60001
5 years, 10 months ago (2015-02-25 20:57:56 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-25 21:01:46 UTC) #24
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 21:02:50 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/815c487fa677cf5413ed22e181437c1107300d49
Cr-Commit-Position: refs/heads/master@{#318111}

Powered by Google App Engine
This is Rietveld 408576698