Can't add service with "/" in address
Description
I'm trying to add HAproxy service to PMM. We have a DNS-addresses like https://domain_name/project_name for some HAproxy instances. When I tried to add this address, I received error "Connection check failed: parse "my_address": invalid URL escape "%2F"." HAproxy's default config set URL /stats for statistics, so it could be able to add this URL for service
Expected Results
Service added to inventory
Actual Results
Error "Connection check failed: parse "": invalid URL escape "%2F"."
Version
2.36.0 and 2.41.0
Steps to reproduce
Menu Configuration -> Add service -> HAproxy (or External service, this issue also reproducing there), fill all fields, field Hostname must be with "/" in address
Relevant logs
No response
Code of Conduct
- [X] I agree to follow Percona Community Code of Conduct
Hi @rockbesst could you share cli command you used to add?
Hi @rockbesst, could you please check latest PMM? We have fixed similar problem in 2.41.1 which was released in january.