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

Some characters are rejected by account request page #72

Open
ahelsing opened this issue May 20, 2015 · 1 comment
Open

Some characters are rejected by account request page #72

ahelsing opened this issue May 20, 2015 · 1 comment

Comments

@ahelsing
Copy link
Member

Some passwords are rejected on the IdP account request page. When you hit submit, you get an error message:

"Please match the requested format. The passwords must match."

Note the passwords do match.
There is no requested format on the page, which adds to the confusion.

Through trial and error, I found 3 characters which, when included in the password, appear to cause this error: $ ^ & and |

There are probably others.

Probably this is because we set the 'pattern' on password2 to the literal, and those 3 are control characters for a javascript regex.

Maybe the HTML5 is too fancy.
Look here: http://www.the-art-of-web.com/javascript/validate-password/#.UglFPmR4bsc

Imported from trac ticket #72, created by ahelsing on 01-13-2014 at 14:02, last modified: 05-12-2015 at 14:01

@tcmitchell
Copy link
Member

A user reported that the ampersand character appeared to cause the same error message.

Trac comment by tmitchel (github user: tcmitchell) on 05-12-2015 at 14:01

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

No branches or pull requests

2 participants