Fix the attachment URL only if the attachment is not proxied