[cors] Subdomains

2010-07-25 Thread Christoph Päper
Maybe I’m missing something, but shouldn’t it be easy to use certain groups of origins in ‘Access-Control-Allow-Origin’, e.g. make either the scheme, the host or the port part irrelevant or only match certain subparts of the host part? Consider Wikipedia/Wikimedia as an example. If all 200-odd

[Bug 10234] New: Unused argument in example function prepareDatabase()

2010-07-25 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10234 Summary: Unused argument in example function prepareDatabase() Product: WebAppsWG Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal

Re: [cors] Subdomains

2010-07-25 Thread Tab Atkins Jr.
On Sun, Jul 25, 2010 at 5:25 AM, Christoph Päper christoph.pae...@crissov.de wrote: Maybe I’m missing something, but shouldn’t it be easy to use certain groups of origins in ‘Access-Control-Allow-Origin’, e.g. make either the scheme, the host or the port part irrelevant or only match certain

Re: [cors] Subdomains

2010-07-25 Thread Adam Barth
On Sun, Jul 25, 2010 at 8:55 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Sun, Jul 25, 2010 at 5:25 AM, Christoph Päper christoph.pae...@crissov.de wrote: Maybe I’m missing something, but shouldn’t it be easy to use certain groups of origins in ‘Access-Control-Allow-Origin’, e.g. make

Re: [CORS] What constitutes a network error?

2010-07-25 Thread Anne van Kesteren
On Wed, 21 Jul 2010 23:54:43 +0200, Jonas Sicking jo...@sicking.cc wrote: On Wed, Jul 21, 2010 at 1:14 PM, Alexey Proskuryakov a...@webkit.org wrote: 20.07.2010, в 14:37, Jonas Sicking написал(а): However I haven't been able to find a clear definition of what counts as a network error. Does

Re: [cors] Subdomains

2010-07-25 Thread Christoph Päper
Tab Atkins Jr.: On Sun, Jul 25, 2010 at 5:25 AM, Christoph Päper Access-Control-Allow-Origin: http://*.wikipedia.org This one might work, but: Access-Control-Allow-Origin: http://example.*, http://example.co.* This one won't, because it'll match example.co.evilsite.com. I included

Re: [CORS] What constitutes a network error?

2010-07-25 Thread Jonas Sicking
On Sun, Jul 25, 2010 at 2:33 PM, Anne van Kesteren ann...@opera.com wrote: On Wed, 21 Jul 2010 23:54:43 +0200, Jonas Sicking jo...@sicking.cc wrote: On Wed, Jul 21, 2010 at 1:14 PM, Alexey Proskuryakov a...@webkit.org wrote: 20.07.2010, в 14:37, Jonas Sicking написал(а): However I haven't