Lack of input checks lead to possibility of user error #198

issue jarolrod openend this issue on January 23, 2021
  1. jarolrod commented at 3:57 pm on January 23, 2021: member

    Wallet Creation Issues

    1. Can enter unlimited amount of characters
      • The wallet creation dialogue allows me to input an unlimited amount of characters. A long enough filename will lead to a crash with error: boost::filesystem::status: File name too long
      • Instead of crashing, it would be nice to know that I exceeded the file length limit, and change my new wallet name
    2. No consideration of POSIX portability
      • When creating a wallet, one is allowed to enter any character. This means that I can make a wallet on one system that is not portable to another system

    Receive Label and Message Issues

    When creating a new payment request under the Receive tab, you are allowed to input an unlimited amount of characters in both the Label and Message fields. This will lead to an unusable URI with no QR code generated. While this would be a rare occurrence, this should not be allowed to happen. A user should not be allowed to create a URI that is unusable. It also creates a ridiculously long window, see below:

  2. jarolrod added the label Bug on Jan 23, 2021
  3. MarcoFalke commented at 4:16 pm on January 23, 2021: contributor
    When creating a wallet, one is allowed to enter any character. This means that I can make a wallet on one system that is not portable to another system
    

    You can simply rename the wallet folder while moving it to the other system, no?

  4. jarolrod commented at 4:18 pm on January 23, 2021: member
    @MarcoFalke Yeah, that is what you would have to do. I guess it comes down to should we allow behavior that will lead to this?
  5. hebasto added the label UX on May 1, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-22 03:20 UTC

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