http://tools.ietf.org/html/rfc3986#appendix-B for the domains match, and fixed empty strings in titles