mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-23 00:10:37 -05:00
add test case for recursive placeholders
This commit is contained in:
parent
18628612b2
commit
10170a555e
2 changed files with 12 additions and 1 deletions
|
|
@ -796,7 +796,7 @@ QString Entry::resolvePlaceholderRecursive(const QString& placeholder, int maxDe
|
|||
switch (typeOfPlaceholder) {
|
||||
case PlaceholderType::NotPlaceholder:
|
||||
case PlaceholderType::Unknown:
|
||||
return placeholder;
|
||||
return resolveMultiplePlaceholdersRecursive(placeholder, maxDepth - 1);
|
||||
case PlaceholderType::Title:
|
||||
if (placeholderType(title()) == PlaceholderType::Title) {
|
||||
return title();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue