[pdm-devel] [PATCH datacenter-manager 0/2] validate remote hostname

Lukas Wagner l.wagner at proxmox.com
Mon Jan 12 11:30:34 CET 2026


On Fri Dec 19, 2025 at 1:37 PM CET, Shannon Sterz wrote:
> 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(-)
>


With the trivial fix mentioned in 1/2 locally:

Tested-by: Lukas Wagner <l.wagner at proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner at proxmox.com>




More information about the pdm-devel mailing list