Re: [w3c/ServiceWorker] Scope matching algorithm breaks sites that don't end in a slash (#1272)

@mgiuca 

> `/foo` is a parent of `/foo/` and `/foo/*` (proof: `/foo/..` canonicalizes to `/foo`)

`/foo/..` canonicalizes to `/` I believe.

> You may as well just have your main SW scoped at `/maps`

But then you have app logic in the SW that may also control `/mapsearch`. A simple redirect is less likely to be an issue.

> I would really like to see a solution that makes it possible to define a sane scope

I think it's a bit much to imply the current scoping rules are 'insane'. Can we tone down the rhetoric, please?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1272#issuecomment-364862609

Received on Monday, 12 February 2018 09:01:38 UTC