I think it should have been prominently labelled as a referral link, but in GilK's defense the URL shortener is Dropbox's own one and that's what all their referral links look like. I don't think you can visually distinguish a referral links from a file sharing link.