From aa22d8f8f371ce962d4827e50bfd793c2ab689c3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Sep 2012 13:47:04 +0400 Subject: split SSL hostname verification to a separate option, do not call trustAllHosts() on every API request, fix support for older tt-rss versions which do not have getApiLevel call --- res/values/strings.xml | 8 +++++++- res/xml/preferences.xml | 11 ++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'res') diff --git a/res/values/strings.xml b/res/values/strings.xml index 194de703..d57cae6f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -28,7 +28,7 @@ Share article Mark read Sort feeds by unread count - Accept any SSL certificate + Accept any certificate Browse feeds Browse articles @@ -137,4 +137,10 @@ Donation found, thank you for support! Use volume buttons Switch between articles with hardware volume buttons + No hostname verification + Error: unknown API method + Accepts any SSL certificate without validation + Do not verify hostnames over SSL + SSL + Error: SSL hostname not verified \ No newline at end of file diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index a98cd8ad..648114bb 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -22,11 +22,20 @@ android:summary="@string/ttrss_url_summary" android:title="@string/ttrss_url" > - + + + + +