Skip to content

Fix: open as text link on downloads now uses utf-8 encoding#1109

Open
ArneBab wants to merge 38 commits intohyphanet:nextfrom
ArneBab:open-as-plain-text-utf8
Open

Fix: open as text link on downloads now uses utf-8 encoding#1109
ArneBab wants to merge 38 commits intohyphanet:nextfrom
ArneBab:open-as-plain-text-utf8

Conversation

@ArneBab
Copy link
Copy Markdown
Contributor

@ArneBab ArneBab commented Nov 8, 2025

Tiny change, replaces most of the use-cases of the much more complex and incorrect #970

Comment thread src/freenet/clients/http/FProxyToadlet.java Outdated
ArneBab and others added 27 commits November 9, 2025 20:34
Unfortunately, it currently looks like we won’t be able to update to a
newer version than 3, because Mockito starts using WeakReference as a
type for some internal representation or other, so we can’t mock objects
anymore that use it.
And add a test for it.
@hyphanet hyphanet deleted a comment from Stayfocused20 Apr 5, 2026
ArneBab and others added 8 commits May 1, 2026 14:26
FProxyToadlet does not even reject anything, so the Accept headers are almost
completely useless; however, for a number of accepted MIME types we are
following redirects automatically, and that’s what this test is supposed to
verify.
javax.activation was a part of the JDK until Java 9, when it was removed. By
using the new API (even though the old one is still available in Java 8) we
will remove that hurdle when switching to a newer version of Java.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants