[pdm-devel] [PATCH datacenter-manager 0/2] validate remote hostname
Shannon Sterz
s.sterz at proxmox.com
Fri Dec 19 13:37:56 CET 2025
previously the endpoints list in the ui did not validate user input,
nor did the api when updating a remote. this could lead to an issue
where a user could configure a remote in a way that made it impossible
for pdm to connect to it. this series fixes that.
changes since v1:
* add validation to the correct place, thanks @ Dominik Csapak
Shannon Sterz (2):
ui: node url list: validate list of endpoints
api types: node url: validate hostname
lib/pdm-api-types/src/lib.rs | 3 +++
lib/pdm-api-types/src/remotes.rs | 5 ++++-
ui/src/remotes/node_url_list.rs | 2 ++
3 files changed, 9 insertions(+), 1 deletion(-)
--
2.47.3
More information about the pdm-devel
mailing list