{"type":"rich","version":"1.0","author_name":"npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd","author_url":"https://nostr.ae/npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2013-04-24\n📝 Original message:HTML5 allows web apps to register themselves for handling URI schemes, such\nas the bitcoin: URI that is already in use and being extended as part of\nthe payment protocol.\n\nThe bad news is that for security reasons there is a whitelist of\nacceptable schemes in the spec:\n\nhttp://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-navigator-registerprotocolhandler\n\nThe good news is that yesterday I talked to Hixie about it and he added\nbitcoin to the whitelist:\n\nhttp://html5.org/tools/web-apps-tracker?from=7849\u0026to=7850\n\nI'm currently finding out what the process is for browser makers to notice\nthe change (perhaps they watch the spec commit history and nothing needs to\nbe done), but within a few months most users should have browsers that can\naccept bitcoin as a web-app handleable protocol scheme. I suppose IE10\nusers may be the laggards, but I guess we can live with that for now.\n\nIan pointed out some errors in the BIP21 spec. What's the process for\namending the BIP? Do we need to create a new one and mark the old one as\nreplaced, or can we just fix it in place given the relatively exotic nature\nof most of the issues? Here's his feedback:\n\n\n- BNF doesn't say what it's character set is (presumably it's Unicode)\n\n - \"bitcoinparams\" production doesn't define the separator, so in theory\nthe syntax is ...?label=foomessage=fooother=foo (rather than\n...?label=foo\u0026message=foo etc)\n\n- the syntax allows ?amount=FOO\u0026amount=1.1 as far as I can tell, since\n\"otherparam\" matches any name followed by any value, including \"amount\"\nfollowed by a bogus value.\n\n- \"pchar\" is referenced without definition.\n\n- the \"simpler\" syntax is just wrong (it would result in\nbitcoin:address?amount=1?label=FOO rather\nthan bitcoin:address?amount=1\u0026label=FOO)\n\nBTW the IETF URL specs are being obsoleted by http://url.spec.whatwg.org/,\nat least for Web purposes. In that case matters.\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20130424/a844b4a5/attachment.html\u003e"}
