Proper redirecting for urls


There is this weird issue where when I add a url to a multi site wordpress picture, that is inserted in a picture file, it does not goto that url because it is appended with the main site's url at the beginning.

e.g. insert url:

appended :

When I check html it looks correct. Any suggestions?