Fixes a URL reference.