diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-06 09:46:25 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-06 09:46:48 +0100 |
commit | b4297c8fffa6a21535015db4e34b95041a386fbb (patch) | |
tree | fa8fada71c94cd6200e18cf742df26679983492e /src/qt/paymentserver.cpp | |
parent | d6d12f932db873a1eb490820206de1cca7d287d3 (diff) | |
parent | 1e01f7c506af60012bb99ced053d98eb529eda61 (diff) |
Merge pull request #3353
1e01f7c Payment request URI syntax changed, from request=... to r=... (Gavin Andresen)
Diffstat (limited to 'src/qt/paymentserver.cpp')
-rw-r--r-- | src/qt/paymentserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index 34da0f90ec..d66a722078 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -366,10 +366,10 @@ void PaymentServer::handleURIOrFile(const QString& s) #else QUrlQuery uri((QUrl(s))); #endif - if (uri.hasQueryItem("request")) + if (uri.hasQueryItem("r")) { QByteArray temp; - temp.append(uri.queryItemValue("request")); + temp.append(uri.queryItemValue("r")); QString decoded = QUrl::fromPercentEncoding(temp); QUrl fetchUrl(decoded, QUrl::StrictMode); |