diff options
author | Jonathan White <support@dmapps.us> | 2020-10-12 02:16:44 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2020-10-12 03:08:27 +0300 |
commit | 39f1504ca2841f668aba1f975c0c7e79ff52e3b2 (patch) | |
tree | 67fbfa451a89428f6363fbac551b43b2c36fc36b | |
parent | 12782161bc6b67d76e3e8ddddf9eda15a9684cc4 (diff) |
Mask password placeholder in command execution dialog
* Fixes #4463
-rw-r--r-- | src/gui/DatabaseWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp index 8d813aa61..9a1bd0590 100644 --- a/src/gui/DatabaseWidget.cpp +++ b/src/gui/DatabaseWidget.cpp @@ -858,7 +858,8 @@ void DatabaseWidget::openUrlForEntry(Entry* entry) // otherwise ask user if (!launch && cmdString.length() > 6) { - QString cmdTruncated = cmdString.mid(6); + QString cmdTruncated = entry->resolveMultiplePlaceholders(entry->maskPasswordPlaceholders(entry->url())); + cmdTruncated = cmdTruncated.mid(6); if (cmdTruncated.length() > 400) { cmdTruncated = cmdTruncated.left(400) + " […]"; } |