mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-16 19:48:46 -04: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('}'))) {
|
||||
return PlaceholderType::NotPlaceholder;
|
||||
}
|
||||
if (placeholder.startsWith(QLatin1Literal("{S:"))) {
|
||||
if (placeholder.startsWith(QLatin1Literal("{S:")) || placeholder.startsWith(QLatin1Literal("{s:"))) {
|
||||
return PlaceholderType::CustomAttribute;
|
||||
}
|
||||
if (placeholder.startsWith(QLatin1Literal("{REF:"))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue