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

Unified Diff: components/policy/resources/policy_templates.json

Issue 2253653002: Only allow HTTP/0.9 support on default ports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update policy id (*sigh*) Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index ec19b558c618d8f5bb1866c7525676abfcc7bf29..c2511dd6e8f40d5c5f01669b62d86081984efca3 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -137,7 +137,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 344
+# For your editing convenience: highest ID currently used: 345
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -520,6 +520,28 @@
'label': '''List of disabled protocol schemes''',
},
{
+ 'name': 'Http09OnNonDefaultPortsEnabled',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome.*:54-', 'chrome_os:54-'],
+ 'features': {
+ 'dynamic_refresh': False,
+ 'per_profile': False,
+ },
+ 'example_value': False,
+ 'id': 345,
+ 'caption': '''Enables HTTP/0.9 support on non-default ports''',
+ 'tags': [],
+ 'desc': '''This policy enables HTTP/0.9 on ports other than 80 for HTTP and 443 for HTTPS.
+
+ This policy is disabled by default, and if enabled, leaves users open to the security issue https://crbug.com/600352.
+
+ This policy is intended to give enterprises a chance to migrate exising servers off of HTTP/0.9, and will be removed in the future.
+
+ If this policy is not set, HTTP/0.9 will be disabled on non-default ports.''',
+ 'label': '''List of disabled protocol schemes''',
pastarmovj 2016/08/31 12:02:12 Please fix the label - this seems to have slipped
mmenke 2016/08/31 14:30:28 Done (Just removed it, so it defaults to the capti
+ },
+ {
'name': 'JavascriptEnabled',
'type': 'main',
'schema': { 'type': 'boolean' },

Powered by Google App Engine
This is Rietveld 408576698