Skip to content

Commit

Permalink
Allow all non-https outgoing traffic, use https for osmose and textual
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Aug 28, 2019
1 parent a5d6a2d commit 1a9890c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/main/res/xml-v11/advancedpreferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@
android:summary="@string/config_username_summary"
android:title="@string/config_loginbutton_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://offsets.textual.ru/"
android:defaultValue="https://offsets.textual.ru/"
android:key="@string/config_offsetServer_key"
android:summary="@string/config_offsetServer_summary"
android:dialogMessage="@string/config_offsetServer_summary"
android:title="@string/config_offsetServer_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://osmose.openstreetmap.fr/"
android:defaultValue="https://osmose.openstreetmap.fr/"
android:key="@string/config_osmoseServer_key"
android:summary="@string/config_osmoseServer_summary"
android:dialogMessage="@string/config_osmoseServer_summary"
Expand Down
4 changes: 2 additions & 2 deletions src/main/res/xml-v14/advancedpreferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,13 @@
android:summary="@string/config_username_summary"
android:title="@string/config_loginbutton_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://offsets.textual.ru/"
android:defaultValue="https://offsets.textual.ru/"
android:key="@string/config_offsetServer_key"
android:summary="@string/config_offsetServer_summary"
android:dialogMessage="@string/config_offsetServer_summary"
android:title="@string/config_offsetServer_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://osmose.openstreetmap.fr/"
android:defaultValue="https://osmose.openstreetmap.fr/"
android:key="@string/config_osmoseServer_key"
android:summary="@string/config_osmoseServer_summary"
android:dialogMessage="@string/config_osmoseServer_summary"
Expand Down
4 changes: 2 additions & 2 deletions src/main/res/xml-v19/advancedpreferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,13 @@
android:summary="@string/config_username_summary"
android:title="@string/config_loginbutton_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://offsets.textual.ru/"
android:defaultValue="https://offsets.textual.ru/"
android:key="@string/config_offsetServer_key"
android:summary="@string/config_offsetServer_summary"
android:dialogMessage="@string/config_offsetServer_summary"
android:title="@string/config_offsetServer_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://osmose.openstreetmap.fr/"
android:defaultValue="https://osmose.openstreetmap.fr/"
android:key="@string/config_osmoseServer_key"
android:summary="@string/config_osmoseServer_summary"
android:dialogMessage="@string/config_osmoseServer_summary"
Expand Down
4 changes: 2 additions & 2 deletions src/main/res/xml-v24/advancedpreferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,13 @@
android:summary="@string/config_username_summary"
android:title="@string/config_loginbutton_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://offsets.textual.ru/"
android:defaultValue="https://offsets.textual.ru/"
android:key="@string/config_offsetServer_key"
android:summary="@string/config_offsetServer_summary"
android:dialogMessage="@string/config_offsetServer_summary"
android:title="@string/config_offsetServer_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://osmose.openstreetmap.fr/"
android:defaultValue="https://osmose.openstreetmap.fr/"
android:key="@string/config_osmoseServer_key"
android:summary="@string/config_osmoseServer_summary"
android:dialogMessage="@string/config_osmoseServer_summary"
Expand Down
4 changes: 2 additions & 2 deletions src/main/res/xml/advancedpreferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@
android:summary="@string/config_username_summary"
android:title="@string/config_loginbutton_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://offsets.textual.ru/"
android:defaultValue="https://offsets.textual.ru/"
android:key="@string/config_offsetServer_key"
android:summary="@string/config_offsetServer_summary"
android:title="@string/config_offsetServer_title" />
<android.support.v7.preference.EditTextPreference
android:defaultValue="http://osmose.openstreetmap.fr/"
android:defaultValue="https://osmose.openstreetmap.fr/"
android:key="@string/config_osmoseServer_key"
android:summary="@string/config_osmoseServer_summary"
android:title="@string/config_osmoseServer_title" />
Expand Down
9 changes: 5 additions & 4 deletions src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">127.0.0.1</domain>
</domain-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>

0 comments on commit 1a9890c

Please sign in to comment.