When I try to access a domain with a underscore, squid gives the following error: The following error was encountered: * Invalid URL Some aspect of the requested URL is incorrect. Possible problems: * Missing or incorrect access protocol (should be `http://'' or similar) * Missing hostname * Illegal double-escape in the URL-Path * Illegal character in hostname; underscores are not allowed To solve this problem, squid should be configured with --enable-underscores From the squid configure help, this option is: Squid by default rejects any host names with _ in their name to conform with internet standards.If you disagree with this you may allow _ in hostnames by using this switch, provided that the resolver library on the host where Squid runs does not reject _ in hostnames... Reproducible: Always Steps to Reproduce: 1. Visit some paga with an underscore on the domain name 2. 3. Actual Results: The error mentioned above happened Expected Results: The page should open
Fixed in cvs, version 2.5 STABLE7 See USE="underscores" This was there all along, except the actual flag wasn't portage implemented. Be warned that using --enable-underscores may cause problems with your DNS resolver. Wait half an hour from now and sync your tree, then remerge squid-2.5.7