check whether url belongs to request domain
fix typo