Setting a Failover Relay

(imported topic written by MBARTOSH)

I have an action running that sets a failover relay. The action script is as follows:

setting "_BESClient_RelaySelect_FailoverRelay"="http%3a%2f%2fServerName%3a52311%2fbfmirror%2fdownloads%2f" on "{now}" for client
relay select

I would like to add and extension to server name, for example: ServerName.XXX.company.com. I am guessing I would need to add a %2e for a period so that the url would look like this.

“http%3a%2f%2fServerName%2eXXX%2ecompany%2ecom%3a52311%2fbfmirror%2fdownloads%2f”

My second question is why are the escape characters necessary?

(imported comment written by jgstew)

Maybe it is due to how it is stored in the registry? How it is ingested from the setting later? No clue really.