fix to potential crash in Autofill. Couldn't add a test yet, still waiting for corresponding Autofill structure.

This commit is contained in:
Philipp Crocoll
2023-03-31 08:01:10 +02:00
parent 4910c73a5e
commit 9933fa1f9d

View File

@@ -973,7 +973,7 @@ namespace Kp2aAutofillParser
|| IsInputTypeVariation(inputType, InputTypes.TextVariationWebPassword)
)
)
|| (f.AutofillHints != null && f.AutofillHints.First() == "passwordAuto")
|| (f.AutofillHints != null && f.AutofillHints.FirstOrDefault() == "passwordAuto")
|| (f.HtmlInfoTypeAttribute == "password")
);
}