kratos icon indicating copy to clipboard operation
kratos copied to clipboard

SMTP Connection URI is not valid

Open noliva opened this issue 5 years ago • 1 comments

Describe the bug

AWS SES generates an invalid password for the SMTP connection string.

Reproducing the bug

Get a password that contains the / character.

For example:

smtps://user:BDdPhDS7HGEfacMJrPmg3pDB8zoQ/[email protected]:587?skip_ssl_verify=false

Expected behavior

It probably should not check weather the SMTP connection string is a URI or a String

Environment

  • Version: v0.6.0

Additional context

When changing the .schema/config.schema.json connection_uri.type to string it works.

noliva avatar Jun 16 '21 17:06 noliva

We can change it to string, maybe it makes sense though to include a pattern which matches smtp://|smtps://? Would you be open to a PR?

aeneasr avatar Jun 16 '21 18:06 aeneasr