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

Issue 6966032: Sanitize enclosing quotes around paths in policies. (Closed)

Created:
9 years, 7 months ago by pastarmovj
Modified:
9 years, 7 months ago
Reviewers:
markusheintz_
CC:
chromium-reviews, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Sanitize enclosing quotes around paths in policies. BUG=80211 TEST=unit_tests PolicyPathParser* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86807

Patch Set 1 #

Patch Set 2 : Fixed the unit tests. #

Total comments: 1

Patch Set 3 : Fixed the nit. #

Patch Set 4 : Fixed one forgotten copyright header. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M chrome/browser/policy/policy_path_parser_mac.mm View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_path_parser_posix.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_path_parser_unittest.cc View 1 2 3 2 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/policy/policy_path_parser_win.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
pastarmovj
Sorry for flooding you with review requests but you reviewed the original code and thus ...
9 years, 7 months ago (2011-05-24 12:25:14 UTC) #1
markusheintz_
9 years, 7 months ago (2011-05-26 09:45:23 UTC) #2
LGTM with one nit

http://codereview.chromium.org/6966032/diff/2001/chrome/browser/policy/policy...
File chrome/browser/policy/policy_path_parser_mac.mm (right):

http://codereview.chromium.org/6966032/diff/2001/chrome/browser/policy/policy...
chrome/browser/policy/policy_path_parser_mac.mm:41: if (!result.length())
Nit: I'd prefere (result.length() == 0) here as it's consistent with the other
if condition "> 1".

Same in other files.

Powered by Google App Engine
This is Rietveld 408576698