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

@ -12,8 +12,9 @@
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate> <pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid> <guid>/en/redirect/</guid>
<description>Redirection forwards cookies with all following three setting options enabled: &amp;quot;Resource redirection&amp;quot;, &amp;quot;Redirect w/ cookies&amp;quot; and &amp;quot;Hide certificate errors&amp;quot;, so use the options with care. <description>Redirection forwards cookies with the setting option &amp;quot;Redirect cookies&amp;quot; enabled, so use the options with care.
Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot;. Setting options: &amp;quot;Url redirection&amp;quot; vs. &amp;quot;Resource redirection&amp;quot; &amp;quot;Url redirection&amp;quot; redirects the main/page url only while &amp;quot;Resource redirection&amp;quot; is for all urls in the page.
Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot; or both &amp;quot;Url redirection&amp;quot; and &amp;quot;Redirect cookies&amp;quot;.
When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description> When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
</item> </item>

View file

@ -48,6 +48,7 @@
<p><a href="https://github.com/torappinfo/uweb/releases/tag/v1">github</a></p> <p><a href="https://github.com/torappinfo/uweb/releases/tag/v1">github</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p> <p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<p><a href="https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p> <p><a href="https://my.powerfolder.com/getlink/fi61cC6VHjK72tfufmnLAz/">powerfolder</a></p>
<p><a href="https://u.pcloud.link/publink/show?code=kZXFGdVZ4tBRn1r2yn8yjJUGmT0ecQlRu4e7">pcloud</a></p>
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p> <p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
<h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4> <h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs">Change logs</h4> <h4 id="change-logs">Change logs</h4>
@ -77,8 +78,8 @@
</ul> </ul>
</div> </div>
<p>Last Modified: 14 April 2023<br> <p>Last Modified: 15 April 2023<br>
add option: &#39;cookie forward&#39;<br> enhance redirection cookie support<br>
<pre></pre> <pre></pre>
</p> </p>

View file

@ -12,8 +12,9 @@
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate> <pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid> <guid>/en/redirect/</guid>
<description>Redirection forwards cookies with all following three setting options enabled: &amp;quot;Resource redirection&amp;quot;, &amp;quot;Redirect w/ cookies&amp;quot; and &amp;quot;Hide certificate errors&amp;quot;, so use the options with care. <description>Redirection forwards cookies with the setting option &amp;quot;Redirect cookies&amp;quot; enabled, so use the options with care.
Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot;. Setting options: &amp;quot;Url redirection&amp;quot; vs. &amp;quot;Resource redirection&amp;quot; &amp;quot;Url redirection&amp;quot; redirects the main/page url only while &amp;quot;Resource redirection&amp;quot; is for all urls in the page.
Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot; or both &amp;quot;Url redirection&amp;quot; and &amp;quot;Redirect cookies&amp;quot;.
When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description> When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
</item> </item>
@ -205,13 +206,13 @@ uweb, termux &amp;amp; history versions
github github
sourceforge sourceforge
powerfolder powerfolder
pcloud
pagure pagure
Main features Change logs 991: global url redirection support. Main features Change logs 991: global url redirection support.
988: hosts file to support response headers. 988: hosts file to support response headers.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
983: support &amp;quot;hosts&amp;quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. 983: support &amp;quot;hosts&amp;quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
975: Bookmarks to support styling for markdown etc. 975: Bookmarks to support styling for markdown etc.</description>
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.</description>
</item> </item>
<item> <item>

View file

@ -49,9 +49,11 @@
<li><a href="../tags/redirection">redirection</a> </li> <li><a href="../tags/redirection">redirection</a> </li>
</ul> </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> <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> <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> <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> <p>Click the following links to append mirrors to the file &quot;default.redirect&quot;:<br>
@ -67,8 +69,8 @@
</ul> </ul>
</div> </div>
<p>Last Modified: 14 April 2023<br> <p>Last Modified: 15 April 2023<br>
add option: &#39;cookie forward&#39;<br> enhance redirection cookie support<br>
<pre></pre> <pre></pre>
</p> </p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>/en/_posts/</loc> <loc>/en/_posts/</loc>
<lastmod>2023-04-14T16:04:50+08:00</lastmod> <lastmod>2023-04-15T18:08:03+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -16,10 +16,10 @@
/> />
</url><url> </url><url>
<loc>/en/tags/redirection/</loc> <loc>/en/tags/redirection/</loc>
<lastmod>2023-04-14T16:04:50+08:00</lastmod> <lastmod>2023-04-15T18:08:03+08:00</lastmod>
</url><url> </url><url>
<loc>/en/redirect/</loc> <loc>/en/redirect/</loc>
<lastmod>2023-04-14T16:04:50+08:00</lastmod> <lastmod>2023-04-15T18:08:03+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -32,7 +32,7 @@
/> />
</url><url> </url><url>
<loc>/en/tags/</loc> <loc>/en/tags/</loc>
<lastmod>2023-04-14T16:04:50+08:00</lastmod> <lastmod>2023-04-15T18:08:03+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -45,7 +45,7 @@
/> />
</url><url> </url><url>
<loc>/en/</loc> <loc>/en/</loc>
<lastmod>2023-04-14T16:04:50+08:00</lastmod> <lastmod>2023-04-15T18:08:03+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -113,7 +113,7 @@
/> />
</url><url> </url><url>
<loc>/en/topposts/</loc> <loc>/en/topposts/</loc>
<lastmod>2023-04-14T10:37:49+08:00</lastmod> <lastmod>2023-04-15T14:17:21+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -210,7 +210,7 @@
/> />
</url><url> </url><url>
<loc>/en/changelog/</loc> <loc>/en/changelog/</loc>
<lastmod>2023-04-14T10:37:49+08:00</lastmod> <lastmod>2023-04-15T14:17:21+08:00</lastmod>
</url><url> </url><url>
<loc>/en/sitemap/</loc> <loc>/en/sitemap/</loc>
<lastmod>2023-02-01T09:52:11+08:00</lastmod> <lastmod>2023-02-01T09:52:11+08:00</lastmod>

View file

@ -12,8 +12,9 @@
<pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate> <pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid> <guid>/en/redirect/</guid>
<description>Redirection forwards cookies with all following three setting options enabled: &amp;quot;Resource redirection&amp;quot;, &amp;quot;Redirect w/ cookies&amp;quot; and &amp;quot;Hide certificate errors&amp;quot;, so use the options with care. <description>Redirection forwards cookies with the setting option &amp;quot;Redirect cookies&amp;quot; enabled, so use the options with care.
Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot;. Setting options: &amp;quot;Url redirection&amp;quot; vs. &amp;quot;Resource redirection&amp;quot; &amp;quot;Url redirection&amp;quot; redirects the main/page url only while &amp;quot;Resource redirection&amp;quot; is for all urls in the page.
Global redirection Global redirection is enabled with the setting option &amp;quot;Resource redirection&amp;quot; or both &amp;quot;Url redirection&amp;quot; and &amp;quot;Redirect cookies&amp;quot;.
When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description> When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
</item> </item>

View file

@ -63,13 +63,13 @@ uweb, termux &amp;amp; history versions
github github
sourceforge sourceforge
powerfolder powerfolder
pcloud
pagure pagure
Main features Change logs 991: global url redirection support. Main features Change logs 991: global url redirection support.
988: hosts file to support response headers. 988: hosts file to support response headers.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z. 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
983: support &amp;quot;hosts&amp;quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name. 983: support &amp;quot;hosts&amp;quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
975: Bookmarks to support styling for markdown etc. 975: Bookmarks to support styling for markdown etc.</description>
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.</description>
</item> </item>
<item> <item>

View file

@ -4,7 +4,7 @@
<sitemap> <sitemap>
<loc>en/sitemap.xml</loc> <loc>en/sitemap.xml</loc>
<lastmod>2023-04-14T16:04:50+08:00</lastmod> <lastmod>2023-04-15T18:08:03+08:00</lastmod>
</sitemap> </sitemap>