[PR #346] [MERGED] Fix redirect #3619

Closed
opened 2026-05-17 20:06:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/newt/pull/346
Author: @oschwartz10612
Created: 5/8/2026
Status: Merged
Merged: 5/8/2026
Merged by: @oschwartz10612

Base: mainHead: dev


📝 Commits (7)

  • 6aa94c0 fix(http): Set host header based on in
  • 146e783 fix(http): populate Request.TLS for private HTTPS via httpConnCtx
  • 21c744f Merge pull request #344 from LaurenceJJones/investigate/private-http-redirect-500
  • 4a9a4c4 Merge pull request #345 from LaurenceJJones/investigate/https-permanent-redirect-loop
  • 8615507 Fix the redirect
  • bb84762 Merge branch 'main' into dev
  • a1218ab Bump version

📊 Changes

3 files changed (+89 additions, -19 deletions)

View changed files

📝 flake.nix (+1 -1)
📝 netstack2/http_handler.go (+40 -18)
netstack2/http_handler_tls_test.go (+48 -0)

📄 Description

  • fix(http): Set host header based on in
  • fix(http): populate Request.TLS for private HTTPS via httpConnCtx
  • Fix the redirect
  • Bump version

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/newt/pull/346 **Author:** [@oschwartz10612](https://github.com/oschwartz10612) **Created:** 5/8/2026 **Status:** ✅ Merged **Merged:** 5/8/2026 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (7) - [`6aa94c0`](https://github.com/fosrl/newt/commit/6aa94c0c2a4861378a468e0280d6e6cdc2db6ab3) fix(http): Set host header based on in - [`146e783`](https://github.com/fosrl/newt/commit/146e7835eb541c7f0dc6fba2a22b4ccfc37fdde8) fix(http): populate Request.TLS for private HTTPS via httpConnCtx - [`21c744f`](https://github.com/fosrl/newt/commit/21c744fe849bb842caf555272a03a898af8bff12) Merge pull request #344 from LaurenceJJones/investigate/private-http-redirect-500 - [`4a9a4c4`](https://github.com/fosrl/newt/commit/4a9a4c4eec4115d48b6da3d4f07ff17e0716ce13) Merge pull request #345 from LaurenceJJones/investigate/https-permanent-redirect-loop - [`8615507`](https://github.com/fosrl/newt/commit/86155072dee15ddf64bf36b414c3c28f6948324b) Fix the redirect - [`bb84762`](https://github.com/fosrl/newt/commit/bb84762b1668883318c685a1290b5e51cd25a4df) Merge branch 'main' into dev - [`a1218ab`](https://github.com/fosrl/newt/commit/a1218ab67aa715472f7a8204d2cf1080051f45e2) Bump version ### 📊 Changes **3 files changed** (+89 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `flake.nix` (+1 -1) 📝 `netstack2/http_handler.go` (+40 -18) ➕ `netstack2/http_handler_tls_test.go` (+48 -0) </details> ### 📄 Description - **fix(http): Set host header based on in** - **fix(http): populate Request.TLS for private HTTPS via httpConnCtx** - **Fix the redirect** - **Bump version** --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-17 20:06:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#3619