-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Auto-type does not allow references in syntax #2633
Copy link
Copy link
Closed
Description
Expected Behavior
{REF:U@I:7243df20ad9ccfacfec853f715b59a5a} should be a valid auto-type command
Current Behavior
AutoType::checkSyntax(...) returns false since the REF entry does not conform to any of the available syntax checks even though it is valid.
Additionally, if auto-type verification fails, it does not let the user correct their mistake due to improper handling of the error in
keepassxc/src/gui/entry/EditEntryWidget.cpp
Line 934 in cbf9259
| } else if (AutoType::verifyAutoTypeSyntax(m_autoTypeUi->sequenceEdit->text())) { |
Possible Solution
Add REF syntax to the syntax checker and move AutoType::verifyAutoTypeSyntax(...) to EditEntryWidget::commitEntry() function.
Reactions are currently unavailable