CORE-5025: Fixed the URL joining.