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

[Matching] Update regex to match for 'confirm password' #719

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

dbajpeyi
Copy link
Collaborator

@dbajpeyi dbajpeyi commented Dec 13, 2024

Reviewer: @GioSensation
Asana: https://app.asana.com/0/1205996472158114/1208965688770983/f

Description

"Confirm password" doesn't match the newPassword regex test, causing the field type to be password.current. This PR updates the regex, no regression is obvious.

Steps to test

Can be tested on deltamath.com's reset password flow, you need an account (a teacher account is free to create), to trigger the forgot password link.

Screenshot 2024-12-17 at 10 10 18 Screenshot 2024-12-17 at 10 11 03

@dbajpeyi dbajpeyi changed the title fix: update regex to match for 'confirm password' [Matching] Uupdate regex to match for 'confirm password' Dec 16, 2024
@dbajpeyi dbajpeyi changed the title [Matching] Uupdate regex to match for 'confirm password' [Matching] Update regex to match for 'confirm password' Dec 16, 2024
@dbajpeyi dbajpeyi marked this pull request as ready for review December 17, 2024 09:12
Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable. Thank you! Can you please add the form it fixes to the test suite?

@dbajpeyi dbajpeyi force-pushed the dbajpeyi/bug/deltamath.com branch from 46d343d to e062675 Compare December 19, 2024 14:29
@dbajpeyi dbajpeyi force-pushed the dbajpeyi/bug/deltamath.com branch from e062675 to 0fcb65d Compare December 19, 2024 14:31
Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🚀

@dbajpeyi dbajpeyi merged commit 46f5159 into main Dec 19, 2024
1 check passed
@dbajpeyi dbajpeyi deleted the dbajpeyi/bug/deltamath.com branch December 19, 2024 14:55
graeme added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Jan 31, 2025
Task/Issue URL:
https://app.asana.com/0/1209268905749226/1209268905749226
Autofill Release:
https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/16.2.0


## Description
Updates Autofill to version
[16.2.0](https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/16.2.0).

### Autofill 16.2.0 release notes
## What's Changed
* [Matching] Update regex to match for 'confirm password' by @dbajpeyi
in duckduckgo/duckduckgo-autofill#719
* Update password-related json files (2025-01-06) by @daxmobile in
duckduckgo/duckduckgo-autofill#730
* [FormAnalyzer] Use conservative regex for attributes by @dbajpeyi in
duckduckgo/duckduckgo-autofill#735
* [FormAnalyzer] Don't flip scores on buttons with specific text by
@dbajpeyi in duckduckgo/duckduckgo-autofill#725
* [FormAnalyzer] add external link check for submit buttons by @dbajpeyi
in duckduckgo/duckduckgo-autofill#736
* [FormAnalyzer] scoring password hints by @dbajpeyi in
duckduckgo/duckduckgo-autofill#720
* [Matching] only allow matching on password types by @dbajpeyi in
duckduckgo/duckduckgo-autofill#740
* [Autofill utils] Form wrapper failsafe documentation by @dbajpeyi in
duckduckgo/duckduckgo-autofill#741
* [Form] phone and credit card for recategorization by @dbajpeyi in
duckduckgo/duckduckgo-autofill#733


**Full Changelog**:
duckduckgo/duckduckgo-autofill@16.1.0...16.2.0

## Steps to test
This release has been tested during autofill development. For smoke test
steps see [this
task](https://app.asana.com/0/1198964220583541/1200583647142330/f).

Co-authored-by: dbajpeyi <3018923+dbajpeyi@users.noreply.github.com>
Co-authored-by: Graeme Arthur <2030310+graeme@users.noreply.github.com>
CDRussell pushed a commit to duckduckgo/Android that referenced this pull request Feb 3, 2025
Task/Issue URL:
https://app.asana.com/0/1209268903907280/1209268903907280
Autofill Release:
https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/16.2.0


## Description
Updates Autofill to version
[16.2.0](https://github.com/duckduckgo/duckduckgo-autofill/releases/tag/16.2.0).

### Autofill 16.2.0 release notes
## What's Changed
* [Matching] Update regex to match for 'confirm password' by @dbajpeyi
in duckduckgo/duckduckgo-autofill#719
* Update password-related json files (2025-01-06) by @daxmobile in
duckduckgo/duckduckgo-autofill#730
* [FormAnalyzer] Use conservative regex for attributes by @dbajpeyi in
duckduckgo/duckduckgo-autofill#735
* [FormAnalyzer] Don't flip scores on buttons with specific text by
@dbajpeyi in duckduckgo/duckduckgo-autofill#725
* [FormAnalyzer] add external link check for submit buttons by @dbajpeyi
in duckduckgo/duckduckgo-autofill#736
* [FormAnalyzer] scoring password hints by @dbajpeyi in
duckduckgo/duckduckgo-autofill#720
* [Matching] only allow matching on password types by @dbajpeyi in
duckduckgo/duckduckgo-autofill#740
* [Autofill utils] Form wrapper failsafe documentation by @dbajpeyi in
duckduckgo/duckduckgo-autofill#741
* [Form] phone and credit card for recategorization by @dbajpeyi in
duckduckgo/duckduckgo-autofill#733


**Full Changelog**:
duckduckgo/duckduckgo-autofill@16.1.0...16.2.0

## Steps to test
This release has been tested during autofill development. For smoke test
steps see [this
task](https://app.asana.com/0/1198964220583541/1200583647142330/f).

Co-authored-by: dbajpeyi <3018923+dbajpeyi@users.noreply.github.com>
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