Mask password placeholder in command execution dialog

* Fixes #4463
This commit is contained in:
Jonathan White 2020-10-11 19:16:44 -04:00
parent 12782161bc
commit 39f1504ca2
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -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) + " […]";
}