The link is still coming through with a space in it. Do you have this path setup in your globals file? If so make sure to update it there. It is this space that is causing the problem.
To update the root URL value go into your globals file and look for this variable:
You need to make sure that there is no space here and that it matches the folder structure you have on the site.