mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-07 05:09:18 -05:00
[PR #1394] [MERGED] Fix/hostname field reset port and method #1055
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1394
Author: @Pallavikumarimdb
Created: 9/1/2025
Status: ✅ Merged
Merged: 9/1/2025
Merged by: @oschwartz10612
Base:
dev← Head:Fix/hostname-field-reset-port-and-method📝 Commits (2)
5e5754fpreserve port and method on host changeb670e6eupdate parser to handle h2c📊 Changes
2 files changed (+53 additions, -20 deletions)
View changed files
📝
src/app/[orgId]/settings/resources/[resourceId]/proxy/page.tsx(+35 -16)📝
src/lib/parseHostTarget.ts(+18 -4)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Modified the handlers to only trigger URL parsing when the input actually looks like a URL.
Conditional updates:
Preserve existing values: Plain IP/hostname entries don't trigger parsing at all.
Update the parseHostTarget to support h2c.
Fixes: #1393
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.