Skip to content

Commit

Permalink
Fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBab authored Nov 30, 2024
1 parent b79a2a0 commit 36cd30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/freenet/clients/http/Toadlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ protected void writeTemporaryRedirect(ToadletContext ctx, String msg, String loc
l10n("tempRedirectWithReason", "reason", msg)+
"</h1><a href=\""+HTMLEncoder.encode(location)+"\">" +
l10n("clickHere") + "</a></body></html>";
byte[] = redirDoc.getBytes(StandardCharsets.UTF_8);
byte[] buf = redirDoc.getBytes(StandardCharsets.UTF_8);
MultiValueTable<String, String> mvt = MultiValueTable.from("Location", location);
ctx.sendReplyHeaders(302, "Found", mvt, "text/html; charset=UTF-8", buf.length);
ctx.writeData(buf, 0, buf.length);
Expand Down

0 comments on commit 36cd30b

Please sign in to comment.