disable cleartextTrafficPermitted. default to https for links.
This commit is contained in:
@@ -11,10 +11,10 @@ Regular stable releases of Keepass2Android are available on [Google Play](https:
|
|||||||
Beta-releases can be obtained by opting in to the [Beta testing channel](https://play.google.com/apps/testing/keepass2android.keepass2android) or [Beta testing channel for Keepass2Android Offline](https://play.google.com/apps/testing/keepass2android.keepass2android_nonet).
|
Beta-releases can be obtained by opting in to the [Beta testing channel](https://play.google.com/apps/testing/keepass2android.keepass2android) or [Beta testing channel for Keepass2Android Offline](https://play.google.com/apps/testing/keepass2android.keepass2android_nonet).
|
||||||
|
|
||||||
# How can I contribute?
|
# How can I contribute?
|
||||||
* Help to translate Keepass2Android into your language or improve translations at [our Crowdin page](http://crowdin.net/project/keepass2android)
|
* Help to translate Keepass2Android into your language or improve translations at [our Crowdin page](https://crowdin.net/project/keepass2android)
|
||||||
* Add features by [creating a plugin](How-to-create-a-plug-in_.md) or creating a pull request. You might want to contact me before you start working so I can coordinate efforts.
|
* Add features by [creating a plugin](How-to-create-a-plug-in_.md) or creating a pull request. You might want to contact me before you start working so I can coordinate efforts.
|
||||||
* [Become a GitHub sponsor to boost 🚀 development](https://github.com/sponsors/PhilippC)
|
* [Become a GitHub sponsor to boost 🚀 development](https://github.com/sponsors/PhilippC)
|
||||||
* [Make a donation](http://philipp.crocoll.net/donate.php)
|
* [Make a donation](https://philipp.crocoll.net/donate.php)
|
||||||
|
|
||||||
# How do I learn more?
|
# How do I learn more?
|
||||||
Please see the [wiki](https://github.com/PhilippC/keepass2android/wiki/Documentation) for further information.
|
Please see the [wiki](https://github.com/PhilippC/keepass2android/wiki/Documentation) for further information.
|
||||||
|
|||||||
@@ -1546,10 +1546,10 @@ namespace keepass2android
|
|||||||
string url = _stringViews[urlFieldKey].Text;
|
string url = _stringViews[urlFieldKey].Text;
|
||||||
if (url == null) return false;
|
if (url == null) return false;
|
||||||
|
|
||||||
// Default http:// if no protocol specified
|
// Default https:// if no protocol specified
|
||||||
if ((!url.Contains(":") || (url.StartsWith("www."))))
|
if ((!url.Contains(":") || (url.StartsWith("www."))))
|
||||||
{
|
{
|
||||||
url = "http://" + url;
|
url = "https://" + url;
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<network-security-config>
|
<network-security-config>
|
||||||
<base-config cleartextTrafficPermitted="true">
|
<base-config>
|
||||||
<trust-anchors>
|
<trust-anchors>
|
||||||
<certificates src="system" />
|
<certificates src="system" />
|
||||||
<certificates src="user" />
|
<certificates src="user" />
|
||||||
|
|||||||
Reference in New Issue
Block a user