HomePhabricator

[electrum] escape special chars in URI for op_return message

Description

[electrum] escape special chars in URI for op_return message

Summary:
As per title

Depends on D15236

Test Plan:
python test_runner.py

In the "receive" tab, enter weird stuff in the OP_RETURN field with the "Raw hex script" option unchecked. Click the "Copy URI", paste it in a notebook and check that special chars are escaped and URI-safe.

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D15231

Details

Provenance
PiRKAuthored on Jan 22 2024, 15:05
PiRKPushed on Jan 23 2024, 07:46
Reviewer
Restricted Project
Differential Revision
D15231: [electrum] escape special chars in URI for op_return message
Parents
rABC7937a5693797: [electrum] add tests for BIP21 parsing and creation
Branches
Unknown
Tags
Unknown