diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-18 17:22:17 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-18 17:22:17 +0100 |
commit | a3fe3270ace5994865a7ac4cd01097747a20f9f6 (patch) | |
tree | 937164429a3e84aa7352aea08bc9717c4d880b21 /bip-0072.mediawiki | |
parent | 0505c84b4836604b789bdb38647baa44f2c85d3c (diff) | |
parent | 116129c6878a14415afba89e90b8ddd3a12b477e (diff) | |
download | bips-a3fe3270ace5994865a7ac4cd01097747a20f9f6.tar.xz |
Merge pull request #30 from swansontec/master
Fix BIP 21 and BIP 72 ambiguities & mistakes
Diffstat (limited to 'bip-0072.mediawiki')
-rw-r--r-- | bip-0072.mediawiki | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bip-0072.mediawiki b/bip-0072.mediawiki index 4edd749..246a40c 100644 --- a/bip-0072.mediawiki +++ b/bip-0072.mediawiki @@ -22,8 +22,9 @@ bitcoin wallets. The bitcoin: URI scheme is extended with an additional, optional "r" parameter, whose value is a URL from which a PaymentRequest -message should be fetched (unsafe and reserved octets in the URL value -must be encoded as described in RFC 1738). +message should be fetched (characters not allowed within the scope +of a query parameter must be percent-encoded as described in RFC 3986 +and bip-0021). If the "r" parameter is provided and backwards compatibility is not required, then the bitcoin address portion of the URI may be @@ -52,9 +53,9 @@ r parameter and will initiate a payment to bitcoin address. ==Examples== A backwards-compatible request: <pre> -bitcoin:mq7se9wy2egettFxPbmn99cK8v5AFq55Lx?amount=0.11&r=https%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc2fbe +bitcoin:mq7se9wy2egettFxPbmn99cK8v5AFq55Lx?amount=0.11&r=https://merchant.com/pay.php?h%3D2a8628fc2fbe </pre> Non-backwards-compatible equivalent: <pre> -bitcoin:?r=https%3A%2F%2Fmerchant.com%2Fpay.php%3Fh%3D2a8628fc2fbe +bitcoin:?r=https://merchant.com/pay.php?h%3D2a8628fc2fbe </pre> |