remove suffix from reg server url, allow more whitespeces in config