On Tue, Oct 28, 2008 at 2:05 PM, marcelo <[EMAIL PROTECTED]> wrote: > > On Oct 28, 1:57 pm, "warden [Andrew Leach - Maps API Guru]" > <[EMAIL PROTECTED]> wrote: > > It's reasonable for window.location.host to return the FQDN if that's > > what it's given; and it's reasonable for the Enterprise server to use > > it, but in that case the key check should take account of it. (When I > > tested this in IE6, the browser removed the final dot. I don't think > > it should have done that.) > > > > Have I misunderstood your objection? > > The trailing dot is only internal to the DNS system, and in the zone > file it is mandatory, but written as part of a URL it is a "strange > thing"
I have to diagree too. It a little used feature, but it's critical. For example http://domain./ is different to http://domain/, for example the second can map to the host at domain.example.com by virtu of local DNS. (the DNS 'search') But to the origin server (the webserver) they are equivient too (because the DNS name itself is irelivent, its just used for disambiguoation of urls. ) > > RFC 2616 says: > > 14.23 Host > ... > The Host field value MUST represent > the naming authority of the origin server or gateway given by the > original URL. > > > .com is or has a naming authority. > .uk is or has a naming authority. > > .com. is not. > .uk. is not. I believe that is irrelevant. In determining the naming authority (which is a dns convention) a parser is actually using a fqdn (by implication - it assumes there is a dot there even if there isn't). > > Full list here: > http://www.iana.org/domains/root/db/ > > > -- > Marcelo - http://maps.forum.nu > -- > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
