[whatwg] Blacklist for regsiterProtocolHandler()
Tab Atkins Jr.
jackalmage at gmail.com
Tue Apr 19 11:29:17 PDT 2011
On Tue, Apr 19, 2011 at 11:11 AM, Lachlan Hunt <lachlan.hunt at lachy.id.au> wrote:
> I'm also curious how we could handle ISBN URNs, like:
> That would be useful to have a web service that could look up the ISBN and
> direct users to information about the book, or to an online store.
> As currently specified, services have to register a handler for "urn", even
> if they only handle ISBN URNs. The other alternative would be to mint a new
> web+isbn scheme, which seems suboptimal.
Presumably we can specifically whitelist "urn:isbn" as a scheme to
support (and adjust the algorithm sufficiently to make this do what's
intended)? Are there other nested urn: schemes that we could expose?
If so, we could just make the whole class of "urn:*" protocols
>> So e.g. we could whitelist any protocol starting with "web+" and then
>> register that as a common extension point for people inventing protocols
>> for use with this feature, so that people writing OS-native apps would
>> know that if they used a protocol with that prefix it's something that any
>> web site could try to take over.
More information about the whatwg