password-strength icon indicating copy to clipboard operation
password-strength copied to clipboard

Special character is not recognized if it is at the end of the password

Open SwissMaWi opened this issue 3 years ago • 0 comments

Bug Report or Feature Request (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Windows 10, current Chrome or Edge browser

Versions

Angular CLI: 10.2.3 Node: 14.16.0 OS: win32 x64

Angular: 10.1.6 ... animations, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router Ivy Workspace: Yes

Package Version

@angular-devkit/architect 0.1002.3 @angular-devkit/build-angular 0.1001.7 @angular-devkit/core 10.2.3 @angular-devkit/schematics 10.2.3 @angular/cdk 10.2.7 @angular/cli 10.2.3 @angular/fire 6.0.3 @angular/flex-layout 10.0.0-beta.32 @angular/localize 10.2.4 @angular/material 10.2.7 @angular/material-moment-adapter 10.2.7 @schematics/angular 10.2.3 @schematics/update 0.1002.3 rxjs 6.6.6 typescript 4.0.5

Repro steps

Use @angular-material-extensions/password-strength/MatPasswordStrengthComponent in your web page <mat-password-strength #passwordComponent [min]="mininumLengthOfPassword" [accentThreshold]="accentThreshold" [enableDigitRule]="enableDigitRule" [password]="password.value" matTooltip="{{ 'PassWordStrengthExplanation' | translate }}"> </mat-password-strength> accentThreshold = 61; try the following password: qwertzuiop1A. --> you will not get strength of 100% try instead: qwertzuiop1.A --> you will get strength = 100%

The log given by the failure

No error

Desired functionality

Password strength should be the same no matter where in the password the required characters are

Mention any other details that might be useful

18-11-_2021_14-52-22

SwissMaWi avatar Nov 18 '21 13:11 SwissMaWi