Bitcoin-Qt: extend parseBitcoinURI() pre-check #2193

pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:Qt_parseBitcoinURI changing 1 files +2 −1
  1. Diapolo commented at 5:49 PM on January 20, 2013: none
    • add check to verify if an URI is valid
  2. BitcoinPullTester commented at 6:22 PM on January 20, 2013: none

    Automatic sanity-testing: FAILED BUILD/TEST, see http://jenkins.bluematt.me/pull-tester/5950fc1c72c91cfdea238853065c0d4f6c8dac38 for binaries and test log.

    This could happen for one of several reasons:

    1. It chanages paths in makefile.linux-mingw or otherwise changes build scripts in a way that made them incompatible with the automated testing scripts
    2. It does not build on either Linux i386 or Win32 (via MinGW cross compile)
    3. The test suite fails on either Linux i386 or Win32
    4. The block test-cases failed (lookup the first bNN identifier which failed in https://github.com/TheBlueMatt/test-scripts/blob/master/FullBlockTestGenerator.java)
  3. Diapolo commented at 6:35 PM on January 20, 2013: none

    Seems this breaks the URI tests. I suppose we are allowing URIs, which contain no query?

  4. Bitcoin-Qt: extend parseBitcoinURI() pre-check
    - add check to verify if an URI is valid
    446cbf5fe9
  5. BitcoinPullTester commented at 7:08 AM on January 21, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/446cbf5fe9384f0e49397e2bb7a9db1005476f56 for binaries and test log.

  6. laanwj commented at 11:39 AM on January 21, 2013: member

    I don't think a query is necessary. BIP 21 is the authorative source on what URIs we should accept or reject, maybe check there.

  7. Diapolo commented at 1:06 PM on January 21, 2013: none

    @laanwj Yeah, I checked there and we don't require a query in an URI, so I removed that check and updated this pull. As you can see pull tester is fine with it now :).

  8. laanwj commented at 3:10 PM on January 21, 2013: member

    Ok, ACK

  9. gavinandresen referenced this in commit ea0a2b18f2 on Jan 21, 2013
  10. gavinandresen merged this on Jan 21, 2013
  11. gavinandresen closed this on Jan 21, 2013

  12. laudney referenced this in commit 360ae59198 on Mar 19, 2014
  13. sidhujag referenced this in commit a3941f445e on Jul 31, 2018
  14. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me