diff options
| author | tobtoht <tob@featherwallet.org> | 2026-04-18 08:09:49 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2026-04-18 08:09:49 +0000 |
| commit | bb4bc4a77ecf4263311cf7b139cd15be28050d3e (patch) | |
| tree | 74925f1e8a88a991cec7c6116c9ba9f40c420ea4 /components | |
| parent | 081848bab0fb2430a4e5650e71b704a9f081bfce (diff) | |
| parent | 23ec5eb6a1dc61ef72a3ca4c9bb5942cbf60d959 (diff) | |
| download | monzero-gui-bb4bc4a77ecf4263311cf7b139cd15be28050d3e.tar.gz monzero-gui-bb4bc4a77ecf4263311cf7b139cd15be28050d3e.tar.xz monzero-gui-bb4bc4a77ecf4263311cf7b139cd15be28050d3e.zip | |
Merge pull request #4577
23ec5eb qml: escape untrusted text in RichText views (selsta)
Diffstat (limited to 'components')
| -rw-r--r-- | components/TxConfirmationDialog.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/TxConfirmationDialog.qml b/components/TxConfirmationDialog.qml index dc55a6f5..1700aa0a 100644 --- a/components/TxConfirmationDialog.qml +++ b/components/TxConfirmationDialog.qml @@ -32,6 +32,7 @@ import QtQuick.Controls 2.2 import QtQuick.Layouts 1.1 import "../components" as MoneroComponents +import "../js/Utils.js" as Utils import FontAwesome 1.0 Rectangle { @@ -306,7 +307,7 @@ Rectangle { } var title; if (addressBookName) { - title = FontAwesome.addressBook + " " + addressBookName; + title = FontAwesome.addressBook + " " + Utils.htmlEscape(addressBookName); } else { title = qsTr("Monero address") + translationManager.emptyString; } |
