mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 07:19:42 -05:00
Accept both upper and lowercase 'S' for custom attribute
This commit is contained in:
parent
2738a72b43
commit
e28a1b5203
@ -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…
Reference in New Issue
Block a user