Merge pull request #3241 from laanwj/2013_11_uri_scheme_case_insensitive
qt: make URI scheme comparison case insensitive
This commit is contained in:
commit
d6c434d97e
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ bool parseBitcoinURI(QString uri, SendCoinsRecipient *out)
|
|||
//
|
||||
// Cannot handle this later, because bitcoin:// will cause Qt to see the part after // as host,
|
||||
// which will lower-case it (and thus invalidate the address).
|
||||
if(uri.startsWith("bitcoin://"))
|
||||
if(uri.startsWith("bitcoin://", Qt::CaseInsensitive))
|
||||
{
|
||||
uri.replace(0, 10, "bitcoin:");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue