Use urlparse in domain filter