enhance redirection cookie support

This commit is contained in:
James Feng Cao 2023-04-15 20:12:02 +08:00
parent 18b9609a23
commit a81920a1a5
8 changed files with 30 additions and 24 deletions

View file

@ -49,9 +49,11 @@
<li><a href="../tags/redirection">redirection</a> </li>
</ul>
<p><span style="color:red">Redirection forwards cookies</span> with all following three setting options enabled: &quot;Resource redirection&quot;, &quot;Redirect w/ cookies&quot; and &quot;Hide certificate errors&quot;, so use the options with care.</p>
<p>⚠️<span style="color:red">Redirection forwards cookies</span> with the setting option &quot;Redirect cookies&quot; enabled, so use the options with care.</p>
<h4 id="setting-options-url-redirection-vs-resource-redirection">Setting options: &quot;Url redirection&quot; vs. &quot;Resource redirection&quot;</h4>
<p>&quot;Url redirection&quot; redirects the main/page url only while &quot;Resource redirection&quot; is for all urls in the page.</p>
<h4 id="global-redirection">Global redirection</h4>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option &quot;Resource redirection&quot;.</p>
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option &quot;Resource redirection&quot; or both &quot;Url redirection&quot; and &quot;Redirect cookies&quot;.</p>
<p>When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>
<h4 id="defaultredirect-valid-only-without-global-redirection-url">&quot;default.redirect&quot; (valid only without global redirection url)</h4>
<p>Click the following links to append mirrors to the file &quot;default.redirect&quot;:<br>
@ -67,8 +69,8 @@
</ul>
</div>
<p>Last Modified: 14 April 2023<br>
add option: &#39;cookie forward&#39;<br>
<p>Last Modified: 15 April 2023<br>
enhance redirection cookie support<br>
<pre></pre>
</p>