stack_wallet
stack_wallet copied to clipboard
Bug: Drop unknown BIP-21 parameters on pasted URIs
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
If I paste a BCH address on the Bitcoin Cash send screen that includes a dummy query parameter, for instance: bitcoincash:q…?asdf
I get an error.
Expected Behavior
That the asdf
parameter is dropped as stated by BIP-21 (https://en.bitcoin.it/wiki/BIP_0021).
Reproduce Steps
Generate a Bitcoin Cash address, append ?asdf
and paste it as the receiving address.
Environment
- Operating system and version: Android 13
- Device platform and version: Samsung Galaxy S21
- Real device or emulator/simulator: Real
Logs
No response
Further Information
It works as expected if the string is converted to a QR code and scanned.