Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35757

Summary: Support for Squid configure option --enable-underscores
Product: Gentoo Linux Reporter: Danny <Dirus>
Component: New packagesAssignee: Andrew Bevitt <andrewbevitt>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.9
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 41537    

Description Danny 2003-12-13 14:21:16 UTC
When a domain name has an underscore squid will not attempt to load them.  This is because the DNS RFC does not allow underscores but even older versions of BIND allow it.  Personally I'd prefer to get a dns error rather than a Squid error.  Perhaps we can have a local USE keyword to configure with "--enable-underscores"?  If it'd help I'll make a patch that uses a local USE for this option.

Reproducible: Always
Steps to Reproduce:
Comment 1 Danny 2003-12-13 14:34:08 UTC
Just for an example, some of the images on the offical Firebird theme website have an underscore in their domain and won't load even if the DNS server would resolve them:
http://texturizer.net/firebird/themes/
Comment 2 Andrew Bevitt 2004-04-30 19:28:18 UTC
OK check out the 2.5.5-r1 ebuild in portage.

It has a local use 'underscores' that will add --enable-underscores to the build process. Ive tested this with the mozilla link below and all seems good.

My bind allows this, but if you are running one that doesnt then you will get resolution errors. 

Comment 3 Andrew Bevitt 2004-04-30 19:29:02 UTC
Closing.

Reopen if you need too