Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept both upper and lowercase 'S' for custom attribute for more compatibility #11420

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bigjim80
Copy link

I had an issue that auto type didn't work when using a kdbx from Keepass2.

Other KeePass forks both accept {S:Attr1} and {s:Attr1} as a placeholder for custom attributes. Keepassxc only accepts an uppercase S.

I don't see any risk by accepting both {S: and {s: as placeholder, which will further improve cross compatibility.

@droidmonkey
Copy link
Member

droidmonkey commented Oct 30, 2024

Why just this placeholder? If we are going to ignore case, then we do it for everything. Looks like we do that for the huge list below already. Ref is the only stand out now.

@bigjim80
Copy link
Author

You are right, I thought it would be too much, but it makes more sense to be consistent.
I'll see when I have some time to implement it in this PR and add some tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants