summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2020-04-27 11:12:00 +0800
committerChiachang Wang <chiachangwang@google.com>2020-05-07 08:03:48 +0000
commit087a1541b22f4cf23490122016e2677c94a4dbae (patch)
tree2e9bd79afc7ccfd304b3248d4f5adf9f66a4abb3 /res
parent4f8974b5c36d7c696dc1cfa5a17c1cb1c40db762 (diff)
downloadplatform_packages_modules_NetworkStack-087a1541b22f4cf23490122016e2677c94a4dbae.tar.gz
platform_packages_modules_NetworkStack-087a1541b22f4cf23490122016e2677c94a4dbae.tar.bz2
platform_packages_modules_NetworkStack-087a1541b22f4cf23490122016e2677c94a4dbae.zip
Prevent using commas in url configurations
Literal commas are not allowed in the url configuration because they are used as a separator internally. Add document in the resource to prevent OEMs to misconfigure it and cause unexpected result. Bug: 155027030 Test: m -j30; atest NetworkStackTests Change-Id: I76a847105fc6e57542bb7b8e2dc7ce45ae8393a3
Diffstat (limited to 'res')
-rw-r--r--res/values/config.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index fdbc9db8..e16f0594 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -35,6 +35,8 @@
<string name="config_captive_portal_http_url" translatable="false"></string>
<!--suppress CheckTagEmptyBody: overlayable resource to use as configuration hook -->
<string name="config_captive_portal_https_url" translatable="false"></string>
+ <!-- Literal commas are not allowed in the url configuration because they
+ are used as a separator internally. -->
<string-array name="config_captive_portal_fallback_urls" translatable="false">
</string-array>
<string-array name="config_captive_portal_fallback_probe_specs" translatable="false">