feather-wallet / feather

A free and open-source Monero desktop wallet.
https://featherwallet.org
BSD 3-Clause "New" or "Revised" License
354 stars 52 forks source link

payment request URI not parsed when read from a QR code with camera #202

Closed chaserene closed 1 month ago

chaserene commented 1 month ago

tested: Feather 2.7.0 AppImage

if you scan a payment request QR code of a Monero URI with the camera of your your device (Send tab -> Scan button), Feather inserts the whole URI string into the "Pay to" field instead of parsing the URI and inserting each parameter into its respective field. trying to send like this will result in the error "Unable to create transaction - No amount was entered".

I was able to replicate the bug with QR codes generated with Feather and Monerujo.

fortunately, the bug seems to be limited to the camera method only. I was unable to replicate it by inserting the URI from the clipboard as text or image data (copied either from Feather of from the file browser).

tobtoht commented 1 month ago

Thanks, fixed in 796d4dd3f02c8938dbc5d4fbb4869dde115221e6.