passbolt_api icon indicating copy to clipboard operation
passbolt_api copied to clipboard

Validation rules are too strict. For example "+" is not allowed in the email field, or "\", "#" and "\n" are not allowed in the comment or URL field

Open LegendPJ opened this issue 10 years ago • 6 comments

Hi,

When I create a new password on the web interface, I could not use the "+" in the login or the comment. There's a similar issue : #14

Thanks

LegendPJ avatar Sep 13 '16 10:09 LegendPJ

Hi @LegendPJ ,

Thanks for the feedback. Indeed this issue is very similar to #14.

The good news is that #14 is already part of our current sprint. So I'll just update the issue and make sure we fix login and comment on the same time. Just in case, we'll also check if this concerns other fields.

The reference to the internal issue is: PASSBOLT-1637 . The same should appear in the next release notes to come.

Cheers.

kevinmuller avatar Sep 13 '16 17:09 kevinmuller

Great !

thank's for your response !

LegendPJ avatar Sep 13 '16 18:09 LegendPJ

Hi,

Login and comment should allow any character (accented letters, etc.). I just tried to create a new password with "clé" as username, and got bounced. Few minutes earlier I was refused this comment "username = client id".

thanks!

p4tpr0 avatar Sep 27 '16 21:09 p4tpr0

Hello,

I'd add the character '' , in my case it's to reference a UNC path in the description field . '\n' in the Description also triggers the "description should only contain .." error

Thanks,

silvaireboivert avatar Oct 18 '16 16:10 silvaireboivert

Thanks for your feedback @silvaireboivert.

The refactoring of the validation rules to make them more permissive is planned in our current sprint. It will fix the issue that you are mentioning, and allow a much larger set of characters. It will be available in the next release (which will come faster than the last one, promise!) I will keep you updated on this thread once it is implemented and stable.

Cheers,

kevinmuller avatar Oct 18 '16 17:10 kevinmuller

See. #40

stripthis avatar Feb 17 '17 14:02 stripthis