https://redmine.stoutner.com/https://redmine.stoutner.com/favicon.ico?16699090422020-06-23T01:36:48ZStoutner - RedminePrivacy Browser Android - Feature #586: Disable the Referer header on resource requests by defaulthttps://redmine.stoutner.com/issues/586?journal_id=15952020-06-23T01:36:48ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Subject</strong> changed from <i>Create controls for the Referer header</i> to <i>Disable the Referer header on resource requests</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/1595/diff?detail_id=1352">diff</a>)</li></ul> Privacy Browser Android - Feature #586: Disable the Referer header on resource requests by defaulthttps://redmine.stoutner.com/issues/586?journal_id=17942020-12-17T18:37:58ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Priority</strong> changed from <i>4.x</i> to <i>3.x</i></li></ul><p>As part of this, there needs to be a domain setting that can specify the referer heading. Otherwise, some websites will not load.</p> Privacy Browser Android - Feature #586: Disable the Referer header on resource requests by defaulthttps://redmine.stoutner.com/issues/586?journal_id=17952020-12-17T18:38:12ZSoren Stoutnersoren@stoutner.com
<ul><li><strong>Subject</strong> changed from <i>Disable the Referer header on resource requests</i> to <i>Disable the Referer header on resource requests by default</i></li></ul> Privacy Browser Android - Feature #586: Disable the Referer header on resource requests by defaulthttps://redmine.stoutner.com/issues/586?journal_id=18932021-04-13T15:51:15ZSoren Stoutnersoren@stoutner.com
<ul></ul><p>It looks like this can be done using `shouldInterceptRequest()`.</p>
<p><a class="external" href="https://developer.android.com/reference/android/webkit/WebViewClient#shouldInterceptRequest(android.webkit.WebView,%20android.webkit.WebResourceRequest)">https://developer.android.com/reference/android/webkit/WebViewClient#shouldInterceptRequest(android.webkit.WebView,%20android.webkit.WebResourceRequest)</a></p>
<p>It might also be possible to remove other undesirable headers at the same time, but further testing will be required to be sure and to assess the impact on the loading of requests.</p>