mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-16 20:00:21 -05:00
[PR #1316] [MERGED] Enhancement #906/Smart Host Parsing for Target Address #1030
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/1316
Author: @Pallavikumarimdb
Created: 8/22/2025
Status: ✅ Merged
Merged: 8/30/2025
Merged by: @oschwartz10612
Base:
dev← Head:feature-906/smart-host-parsing📝 Commits (2)
9557f75Add Smart Host Parsingfb1481cfix lint issue📊 Changes
5 files changed (+209 additions, -154 deletions)
View changed files
📝
server/lib/remoteProxy.ts(+1 -1)📝
server/routers/gerbil/getConfig.ts(+1 -1)📝
src/app/[orgId]/settings/resources/[resourceId]/proxy/page.tsx(+93 -69)📝
src/app/[orgId]/settings/resources/create/page.tsx(+99 -83)➕
src/lib/parseHostTarget.ts(+15 -0)📄 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
This PR introduces smart host parsing for the Target Address field (issues highlighted in #906 ).
Sub-issues addressed: 2.1 Smart Parsing for Host Targets
Solution:
Users can now paste a full URL (e.g., http://192.168.1.2:81) directly into the IP/Hostname input, and the system will automatically extract and populate method, host, and port fields. Users still have the flexibility to manually edit each field if required.
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.