mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-27 18:10:31 -05:00
Accept both upper and lowercase 'S' for custom attribute
This commit is contained in:
parent
2738a72b43
commit
e28a1b5203
1 changed files with 1 additions and 1 deletions
|
|
@ -1372,7 +1372,7 @@ Entry::PlaceholderType Entry::placeholderType(const QString& placeholder) const
|
||||||
if (!placeholder.startsWith(QLatin1Char('{')) || !placeholder.endsWith(QLatin1Char('}'))) {
|
if (!placeholder.startsWith(QLatin1Char('{')) || !placeholder.endsWith(QLatin1Char('}'))) {
|
||||||
return PlaceholderType::NotPlaceholder;
|
return PlaceholderType::NotPlaceholder;
|
||||||
}
|
}
|
||||||
if (placeholder.startsWith(QLatin1Literal("{S:"))) {
|
if (placeholder.startsWith(QLatin1Literal("{S:")) || placeholder.startsWith(QLatin1Literal("{s:"))) {
|
||||||
return PlaceholderType::CustomAttribute;
|
return PlaceholderType::CustomAttribute;
|
||||||
}
|
}
|
||||||
if (placeholder.startsWith(QLatin1Literal("{REF:"))) {
|
if (placeholder.startsWith(QLatin1Literal("{REF:"))) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue