Previously: - If the address was an ip, the space would be added into the resulting file, causing connection issues - If the address was a DNS address, resolving would fail By sanitizing the data at the start this is prevented.