summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Swanson <swansontec@gmail.com>2014-03-06 17:57:42 -0800
committerWilliam Swanson <swansontec@gmail.com>2014-03-06 18:07:06 -0800
commitc823eeb5964be9abec8b146293ee82933be7ca72 (patch)
treefffa55c157fe302217e7c53b8d172a3eb2f06ac3
parent0ee7ff7beddeb9e4beb04a4fd9fd4071687963f1 (diff)
downloadbips-c823eeb5964be9abec8b146293ee82933be7ca72.tar.xz
BIP 21: Precisely define the valid query characters
-rw-r--r--bip-0021.mediawiki10
1 files changed, 6 insertions, 4 deletions
diff --git a/bip-0021.mediawiki b/bip-0021.mediawiki
index 5512a01..fba47f3 100644
--- a/bip-0021.mediawiki
+++ b/bip-0021.mediawiki
@@ -41,10 +41,12 @@ Elements of the query component may contain characters outside the valid range.
bitcoinparams = bitcoinparam [ "&" bitcoinparams ]
bitcoinparam = amountparam | labelparam | messageparam | otherparam | reqparam
amountparam = "amount=" *digit [ "." *digit ]
- labelparam = "label=" *pchar
- messageparam = "message=" *pchar
- otherparam = pchar *pchar "=" *pchar
- reqparam = "req-" pchar *pchar "=" *pchar
+ labelparam = "label=" *qchar
+ messageparam = "message=" *qchar
+ otherparam = qchar *qchar "=" *qchar
+ reqparam = "req-" qchar *qchar "=" *qchar
+
+Here, "qchar" corresponds to valid characters of an RFC 3986 URI query component, excluding the "=" and "&" characters, which this BIP takes as separators.
=== Query Keys ===