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

Issue 1765993002: Remove UnescapeRule::URL_SPECIAL_CHARS from components/ (Closed)

Created:
4 years, 9 months ago by mmenke
Modified:
4 years, 9 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, vabr+watchlistpasswordmanager_chromium.org, tfarina, noyau+watch_chromium.org, chromium-apps-reviews_chromium.org, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove UnescapeRule::URL_SPECIAL_CHARS from components/ We're removing this, in favor of PATH_SEPARATORS and URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS, to reduce the risk of security issues when unescaping, going forward. All the remaining uses of URL_SPECIAL_CHARS in components/ look safe, so this CL replaces URL_SPECIAL_CHARS with both the new values, maintaining old behavior, except in affiliation_utils.cc, where the behavior clearly serves no purpose, and adding both flags would be confusing. BUG=589257 Committed: https://crrev.com/fb798389802bd344ccd6594ec0b734c933e5a1d1 Cr-Commit-Position: refs/heads/master@{#382881}

Patch Set 1 #

Patch Set 2 : Fix, merge #

Total comments: 11

Patch Set 3 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -27 lines) Patch
M components/auto_login_parser/auto_login_parser.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M components/bookmarks/browser/bookmark_utils.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/drive/service/fake_drive_service.cc View 1 1 chunk +8 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/affiliation_utils.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M components/policy/core/common/cloud/device_management_service_unittest.cc View 1 chunk +10 lines, -10 lines 0 comments Download
M components/signin/core/browser/signin_header_helper.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M components/url_formatter/url_fixer.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
mmenke
[+boliu]: auto_login_parser/ [+sky]: bookmarks/ [+kinaba]: drive/ [+engedy]: password_manager/ [+atwilson]: policy/ and signin/ [+pkasting]: url_formatter/ https://codereview.chromium.org/1765993002/diff/80001/components/auto_login_parser/auto_login_parser.cc ...
4 years, 9 months ago (2016-03-16 21:30:01 UTC) #5
mmenke
[+pkasting]: Please review url_formatter/
4 years, 9 months ago (2016-03-16 21:30:32 UTC) #7
boliu
On 2016/03/16 21:30:01, mmenke wrote: > [+boliu]: auto_login_parser/ rs lgtm > [+sky]: bookmarks/ > [+kinaba]: ...
4 years, 9 months ago (2016-03-16 21:47:37 UTC) #8
sky
LGTM
4 years, 9 months ago (2016-03-16 22:01:42 UTC) #10
kinaba
drive/ LGTM
4 years, 9 months ago (2016-03-17 01:05:26 UTC) #11
Peter Kasting
LGTM https://codereview.chromium.org/1765993002/diff/80001/components/url_formatter/url_fixer.cc File components/url_formatter/url_fixer.cc (right): https://codereview.chromium.org/1765993002/diff/80001/components/url_formatter/url_fixer.cc#newcode624 components/url_formatter/url_fixer.cc:624: net::UnescapeRule::URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS)); On 2016/03/16 21:30:01, mmenke wrote: > Since ...
4 years, 9 months ago (2016-03-17 06:03:02 UTC) #13
mmenke
https://codereview.chromium.org/1765993002/diff/80001/components/url_formatter/url_fixer.cc File components/url_formatter/url_fixer.cc (right): https://codereview.chromium.org/1765993002/diff/80001/components/url_formatter/url_fixer.cc#newcode624 components/url_formatter/url_fixer.cc:624: net::UnescapeRule::URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS)); On 2016/03/17 06:03:02, Peter Kasting wrote: > On ...
4 years, 9 months ago (2016-03-17 09:23:21 UTC) #14
engedy
LGTM on components/password_manager % comment. https://codereview.chromium.org/1765993002/diff/80001/components/password_manager/core/browser/affiliation_utils.cc File components/password_manager/core/browser/affiliation_utils.cc (right): https://codereview.chromium.org/1765993002/diff/80001/components/password_manager/core/browser/affiliation_utils.cc#newcode104 components/password_manager/core/browser/affiliation_utils.cc:104: // unescape the padding ...
4 years, 9 months ago (2016-03-17 09:51:25 UTC) #15
mmenke
https://codereview.chromium.org/1765993002/diff/80001/components/password_manager/core/browser/affiliation_utils.cc File components/password_manager/core/browser/affiliation_utils.cc (right): https://codereview.chromium.org/1765993002/diff/80001/components/password_manager/core/browser/affiliation_utils.cc#newcode104 components/password_manager/core/browser/affiliation_utils.cc:104: // unescape the padding ('='). On 2016/03/17 09:51:25, engedy ...
4 years, 9 months ago (2016-03-17 19:33:33 UTC) #17
mmenke
[+tnagel]: Please review components/policy. [+rogerta]: Please review components/signin.
4 years, 9 months ago (2016-03-22 15:10:41 UTC) #19
Roger Tawa OOO till Jul 10th
lgtm components/signin
4 years, 9 months ago (2016-03-23 01:02:00 UTC) #20
Thiemo Nagel
lgtm policy
4 years, 9 months ago (2016-03-23 16:56:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765993002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765993002/100001
4 years, 9 months ago (2016-03-23 16:56:38 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 9 months ago (2016-03-23 18:08:28 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 18:10:17 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fb798389802bd344ccd6594ec0b734c933e5a1d1
Cr-Commit-Position: refs/heads/master@{#382881}

Powered by Google App Engine
This is Rietveld 408576698