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

Issue 2030193004: Add a policy for disabling the stripping of PAC URLs. (Closed)

Created:
4 years, 6 months ago by eroman
Modified:
4 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, tnagel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a policy for disabling the stripping of PAC URLs. The default is to strip https:// URLs before submitting them to PAC scripts. This CL introduces the policy "PacHttpsUrlStrippingEnabled" for disabling this security feature. Setting the policy to "false" causes Chrome to no longer strip https:// URLs before sending them to PAC scripts. This applies to all profiles, and all PAC scripts (including those discovered through WPAD, and those delivered over an insecure transport). The intent of this policy is to help enterprises with a compatibility problem transition. BUG=616396 TBR=isherman@chromium.org Committed: https://crrev.com/9f7ea64cf573101c01ddcf020b87c63089038834 Cr-Commit-Position: refs/heads/master@{#397808}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Add better documentatiob #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -16 lines) Patch
M chrome/browser/io_thread.h View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 4 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/net/proxy_service_factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/net/proxy_service_factory.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 chunks +43 lines, -0 lines 0 comments Download
M chrome/browser/prefs/command_line_pref_store.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 4 chunks +2 lines, -7 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 chunks +20 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030193004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2030193004/1
4 years, 6 months ago (2016-06-03 06:24:46 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/194573)
4 years, 6 months ago (2016-06-03 06:32:09 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030193004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2030193004/40001
4 years, 6 months ago (2016-06-03 07:03:12 UTC) #7
eroman
4 years, 6 months ago (2016-06-03 07:14:36 UTC) #10
Andrew T Wilson (Slow)
LGTM, although we don't actually test that the policy value makes it down into the ...
4 years, 6 months ago (2016-06-03 08:29:02 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-03 08:36:53 UTC) #13
eroman
I am exploring such a test as a follow-up.
4 years, 6 months ago (2016-06-03 15:13:02 UTC) #14
eroman
isherman: tools/metrics/histograms/histograms.xml battre: chrome/browser/prefs/command_line_pref_store.cc mmenke: chrome/browser/io_thread.cc chrome/browser/io_thread.h chrome/browser/profiles/profile_io_data.cc atwilson: chrome/browser/policy/configuration_policy_handler_list_factory.cc chrome/browser/policy/policy_browsertest.cc components/policy/resources/policy_templates.json
4 years, 6 months ago (2016-06-03 15:21:36 UTC) #16
battre
lgtm
4 years, 6 months ago (2016-06-03 15:36:15 UTC) #17
mmenke
https://codereview.chromium.org/2030193004/diff/40001/chrome/browser/io_thread.h File chrome/browser/io_thread.h (right): https://codereview.chromium.org/2030193004/diff/40001/chrome/browser/io_thread.h#newcode241 chrome/browser/io_thread.h:241: // Returns true if the indicated proxy resolution features ...
4 years, 6 months ago (2016-06-03 15:59:23 UTC) #18
eroman
I am also not sure why the title of the emails keeps showing up as ...
4 years, 6 months ago (2016-06-03 16:49:04 UTC) #19
mmenke
LGTM
4 years, 6 months ago (2016-06-03 16:50:42 UTC) #20
eroman
TBR=isherman for the small histograms change.
4 years, 6 months ago (2016-06-03 20:57:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030193004/60001
4 years, 6 months ago (2016-06-03 20:58:22 UTC) #25
Ilya Sherman
histograms.xml lgtm
4 years, 6 months ago (2016-06-03 21:21:56 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-03 21:28:46 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 21:30:18 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9f7ea64cf573101c01ddcf020b87c63089038834
Cr-Commit-Position: refs/heads/master@{#397808}

Powered by Google App Engine
This is Rietveld 408576698