W3C home > Mailing lists > Public > public-appformats@w3.org > March 2007

Re: [AC] domain matching

From: Arthur Barstow <art.barstow@nokia.com>
Date: Wed, 28 Mar 2007 14:38:42 -0400
Message-Id: <7DA13139-95A4-40F6-AA6E-7125FA1BCBCF@nokia.com>
Cc: "WAF WG (public)" <public-appformats@w3.org>
To: ext Anne van Kesteren <annevk@opera.com>


On Mar 28, 2007, at 11:28 AM, ext Anne van Kesteren wrote:

> Another issue that Microsoft raised and Thomas wasn't sure about  
> either is the domain matching. Specifically the wildcard matching.  
> Currently a wildcard matches a single label and nothing more. This  
> means that foo.bar.com doesn't match *.com and does match *.*.com.  
> This allows for things like foo.*.bar.com as well, because if the  
> wildcard could match an arbitrary number of labels here the  
> algorithm for matching would become quite complex and it's not  
> clear that actually does what you'd want.
> The other idea is only allowing the wildcard at the start. This  
> implies that foo.bar.com matches *.com and that foo.*.bar.com would  
> be illegal (the wildcard can only appear at the start).

This last suggestion seems reasonable to me.


Art Barstow
Received on Wednesday, 28 March 2007 18:41:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:50:07 UTC