From 1d7c85bd38913da7912b52c15c213b14d8fd528d Mon Sep 17 00:00:00 2001
From: Soren Stoutner <soren@stoutner.com>
Date: Fri, 26 Jul 2019 16:39:45 -0700
Subject: [PATCH] Disable HSTS.  https://redmine.stoutner.com/issues/480

---
 app/src/main/assets/de/about_changelog_dark.html  | 4 ++--
 app/src/main/assets/de/about_changelog_light.html | 4 ++--
 app/src/main/assets/en/about_changelog_dark.html  | 4 ++--
 app/src/main/assets/en/about_changelog_light.html | 4 ++--
 app/src/main/assets/es/about_changelog_dark.html  | 4 ++--
 app/src/main/assets/es/about_changelog_light.html | 4 ++--
 app/src/main/assets/it/about_changelog_dark.html  | 4 ++--
 app/src/main/assets/it/about_changelog_light.html | 4 ++--
 app/src/main/assets/ru/about_changelog_dark.html  | 4 ++--
 app/src/main/assets/ru/about_changelog_light.html | 4 ++--
 app/src/main/assets/tr/about_changelog_dark.html  | 4 ++--
 app/src/main/assets/tr/about_changelog_light.html | 4 ++--
 app/src/main/res/xml/network_security_config.xml  | 4 ++--
 13 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/app/src/main/assets/de/about_changelog_dark.html b/app/src/main/assets/de/about_changelog_dark.html
index a9265d66..7e58fe66 100644
--- a/app/src/main/assets/de/about_changelog_dark.html
+++ b/app/src/main/assets/de/about_changelog_dark.html
@@ -30,8 +30,8 @@
     </head>
 
     <body>
-        <h3>3.2 (version code 46)</h3>
-        <p>20. Juli 2019 - Mindest-API 19, Ziel-API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (version code 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20. Juli 2019</a> - Mindest-API 19, Ziel-API 28</p>
         <ul>
             <li>Standard-Suchmaschine und Startseite auf <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a> geändert.</li>
             <li>Probleme mit dem Orbot-Proxy unter <a href="https://redmine.stoutner.com/issues/473">aktuellen</a> <a href="https://redmine.stoutner.com/issues/474">WebView-Versionen</a> behoben.</li>
diff --git a/app/src/main/assets/de/about_changelog_light.html b/app/src/main/assets/de/about_changelog_light.html
index b1aa0765..5919ed54 100644
--- a/app/src/main/assets/de/about_changelog_light.html
+++ b/app/src/main/assets/de/about_changelog_light.html
@@ -30,8 +30,8 @@
     </head>
 
     <body>
-        <h3>3.2 (version code 46)</h3>
-        <p>20. Juli 2019 - Mindest-API 19, Ziel-API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (version code 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20. Juli 2019</a> - Mindest-API 19, Ziel-API 28</p>
         <ul>
             <li>Standard-Suchmaschine und Startseite auf <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a> geändert.</li>
             <li>Probleme mit dem Orbot-Proxy unter <a href="https://redmine.stoutner.com/issues/473">aktuellen</a> <a href="https://redmine.stoutner.com/issues/474">WebView-Versionen</a> behoben.</li>
diff --git a/app/src/main/assets/en/about_changelog_dark.html b/app/src/main/assets/en/about_changelog_dark.html
index 627ef917..3a3cbcf9 100644
--- a/app/src/main/assets/en/about_changelog_dark.html
+++ b/app/src/main/assets/en/about_changelog_dark.html
@@ -24,8 +24,8 @@
     </head>
 
     <body>
-        <h3>3.2 (version code 46)</h3>
-        <p>20 July 2019 - minimum API 19, target API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (version code 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 July 2019</a> - minimum API 19, target API 28</p>
         <ul>
             <li>Change the default search engine and homepage to <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Fix proxying through Orbot on <a href="https://redmine.stoutner.com/issues/473">recent</a> <a href="https://redmine.stoutner.com/issues/474">versions</a> of WebView.</li>
diff --git a/app/src/main/assets/en/about_changelog_light.html b/app/src/main/assets/en/about_changelog_light.html
index e8a64f80..dd93a5d6 100644
--- a/app/src/main/assets/en/about_changelog_light.html
+++ b/app/src/main/assets/en/about_changelog_light.html
@@ -24,8 +24,8 @@
     </head>
 
     <body>
-        <h3>3.2 (version code 46)</h3>
-        <p>20 July 2019 - minimum API 19, target API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (version code 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 July 2019</a> - minimum API 19, target API 28</p>
         <ul>
             <li>Change the default search engine and homepage to <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Fix proxying through Orbot on <a href="https://redmine.stoutner.com/issues/473">recent</a> <a href="https://redmine.stoutner.com/issues/474">versions</a> of WebView.</li>
diff --git a/app/src/main/assets/es/about_changelog_dark.html b/app/src/main/assets/es/about_changelog_dark.html
index 638320f7..43c3766a 100644
--- a/app/src/main/assets/es/about_changelog_dark.html
+++ b/app/src/main/assets/es/about_changelog_dark.html
@@ -26,8 +26,8 @@
     </head>
 
     <body>
-        <h3>3.2 (código de versión 46)</h3>
-        <p>20 de julio de 2019 - API mínimo 19, API dirigido 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (código de versión 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 de julio de 2019</a> - API mínimo 19, API dirigido 28</p>
         <ul>
             <li>Cambiar el motor de búsqueda y la página de inicio predeterminados a <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Corregir el proxy a través de Orbot en <a href="https://redmine.stoutner.com/issues/473">recientes</a> <a href="https://redmine.stoutner.com/issues/474">versiones</a> de WebView.</li>
diff --git a/app/src/main/assets/es/about_changelog_light.html b/app/src/main/assets/es/about_changelog_light.html
index a59afa30..723ec391 100644
--- a/app/src/main/assets/es/about_changelog_light.html
+++ b/app/src/main/assets/es/about_changelog_light.html
@@ -26,8 +26,8 @@
     </head>
 
     <body>
-        <h3>3.2 (código de versión 46)</h3>
-        <p>20 de julio de 2019 - API mínimo 19, API dirigido 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (código de versión 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 de julio de 2019</a> - API mínimo 19, API dirigido 28</p>
         <ul>
             <li>Cambiar el motor de búsqueda y la página de inicio predeterminados a <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Corregir el proxy a través de Orbot en <a href="https://redmine.stoutner.com/issues/473">recientes</a> <a href="https://redmine.stoutner.com/issues/474">versiones</a> de WebView.</li>
diff --git a/app/src/main/assets/it/about_changelog_dark.html b/app/src/main/assets/it/about_changelog_dark.html
index 9f04fb49..2d8c3189 100644
--- a/app/src/main/assets/it/about_changelog_dark.html
+++ b/app/src/main/assets/it/about_changelog_dark.html
@@ -26,8 +26,8 @@
     </head>
 
     <body>
-        <h3>3.2 (versione codice 46)</h3>
-        <p>20 Luglio 2019 - minima API 19, target API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (versione codice 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 Luglio 2019</a> - minima API 19, target API 28</p>
         <ul>
             <li>Modifica del motore di ricerca e della pagina iniziale di default in <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Sistemazione del proxy con Orbot per le <a href="https://redmine.stoutner.com/issues/473">più recenti</a> <a href="https://redmine.stoutner.com/issues/474">versioni</a> di WebView.</li>
diff --git a/app/src/main/assets/it/about_changelog_light.html b/app/src/main/assets/it/about_changelog_light.html
index e92c59b9..ec49457b 100644
--- a/app/src/main/assets/it/about_changelog_light.html
+++ b/app/src/main/assets/it/about_changelog_light.html
@@ -26,8 +26,8 @@
     </head>
 
     <body>
-        <h3>3.2 (versione codice 46)</h3>
-        <p>20 Luglio 2019 - minima API 19, target API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (versione codice 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 Luglio 2019</a> - minima API 19, target API 28</p>
         <ul>
             <li>Modifica del motore di ricerca e della pagina iniziale di default in <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Sistemazione del proxy con Orbot per le <a href="https://redmine.stoutner.com/issues/473">più recenti</a> <a href="https://redmine.stoutner.com/issues/474">versioni</a> di WebView.</li>
diff --git a/app/src/main/assets/ru/about_changelog_dark.html b/app/src/main/assets/ru/about_changelog_dark.html
index 134917c4..b36edfa0 100644
--- a/app/src/main/assets/ru/about_changelog_dark.html
+++ b/app/src/main/assets/ru/about_changelog_dark.html
@@ -24,8 +24,8 @@
     </head>
 
     <body>
-        <h3>3.2 (код версии 46)</h3>
-        <p>20 июля 2019 года - minimum API 19, target API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (код версии 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 июля 2019 года</a> - minimum API 19, target API 28</p>
         <ul>
             <li>Поисковая система и домашняя страница по умолчанию изменены на <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Исправлено проксирование через Orbot в <a href="https://redmine.stoutner.com/issues/473">последних</a> <a href="https://redmine.stoutner.com/issues/474">версиях</a> WebView.</li>
diff --git a/app/src/main/assets/ru/about_changelog_light.html b/app/src/main/assets/ru/about_changelog_light.html
index 5d7b87e6..499c21be 100644
--- a/app/src/main/assets/ru/about_changelog_light.html
+++ b/app/src/main/assets/ru/about_changelog_light.html
@@ -24,8 +24,8 @@
     </head>
 
     <body>
-        <h3>3.2 (код версии 46)</h3>
-        <p>20 июля 2019 года - minimum API 19, target API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (код версии 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 июля 2019 года</a> - minimum API 19, target API 28</p>
         <ul>
             <li>Поисковая система и домашняя страница по умолчанию изменены на <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Исправлено проксирование через Orbot в <a href="https://redmine.stoutner.com/issues/473">последних</a> <a href="https://redmine.stoutner.com/issues/474">версиях</a> WebView.</li>
diff --git a/app/src/main/assets/tr/about_changelog_dark.html b/app/src/main/assets/tr/about_changelog_dark.html
index 30b4a2a5..9ff55830 100644
--- a/app/src/main/assets/tr/about_changelog_dark.html
+++ b/app/src/main/assets/tr/about_changelog_dark.html
@@ -24,8 +24,8 @@
     </head>
 
     <body>
-        <h3>3.2 (version code 46)</h3>
-        <p>20 July 2019 - minimum API 19, target API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (version code 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 July 2019</a> - minimum API 19, target API 28</p>
         <ul>
             <li>Change the default search engine and homepage to <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Fix proxying through Orbot on <a href="https://redmine.stoutner.com/issues/473">recent</a> <a href="https://redmine.stoutner.com/issues/474">versions</a> of WebView.</li>
diff --git a/app/src/main/assets/tr/about_changelog_light.html b/app/src/main/assets/tr/about_changelog_light.html
index e1a751c6..94332c9b 100644
--- a/app/src/main/assets/tr/about_changelog_light.html
+++ b/app/src/main/assets/tr/about_changelog_light.html
@@ -24,8 +24,8 @@
     </head>
 
     <body>
-        <h3>3.2 (version code 46)</h3>
-        <p>20 July 2019 - minimum API 19, target API 28</p>
+        <h3><a href="https://www.stoutner.com/privacy-browser-3-2/">3.2</a> (version code 46)</h3>
+        <p><a href="https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=424ab40e495fed0fd1fe4109be466206d64ae6be">20 July 2019</a> - minimum API 19, target API 28</p>
         <ul>
             <li>Change the default search engine and homepage to <a href="https://www.stoutner.com/switching-to-startpage-as-the-default-homepage-and-search-engine/">Startpage</a>.</li>
             <li>Fix proxying through Orbot on <a href="https://redmine.stoutner.com/issues/473">recent</a> <a href="https://redmine.stoutner.com/issues/474">versions</a> of WebView.</li>
diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xml
index e7ed677f..16a90b5c 100644
--- a/app/src/main/res/xml/network_security_config.xml
+++ b/app/src/main/res/xml/network_security_config.xml
@@ -18,7 +18,7 @@
   You should have received a copy of the GNU General Public License
   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
 
-<!-- Allow HTTP traffic. -->
+<!-- Allow HTTP traffic and disable HSTS, which has no benefit for Privacy Browser (because unspecified links default to HTTPS) but has negative fingerprinting implications. -->
 <network-security-config>
-    <base-config cleartextTrafficPermitted="true" />
+    <base-config cleartextTrafficPermitted="true" hstsEnforced="false" />
 </network-security-config>
\ No newline at end of file
-- 
2.47.2