mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 21:59:09 -05:00
[PR #1431] [MERGED] Fix inconsistent destinationIp validation between create and update APIs #1066
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/1431
Author: @Pallavikumarimdb
Created: 9/7/2025
Status: ✅ Merged
Merged: 9/8/2025
Merged by: @oschwartz10612
Base:
dev← Head:Fix/site-resource-destinationip-validation📝 Commits (1)
9e2a58dinconsistent destinationIp validation between create and update📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
server/routers/siteResource/updateSiteResource.ts(+1 -1)📄 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 resolves the inconsistency reported in #1419 and #1426 where the update site resource rejected hostnames (localhost, host.docker.internal, etc.) due to strict .ip() validation, while the create API accepted them.
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.