-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Error sending threepid validation email ... yield send_email_func(email_address, token, client_secret, session_id) ValueError: unsupported format character 'S' (0x53) at index 7 #6422
Comments
I was able to fix it, still believe this is a bug that should be addressed. Problem was in homeserver.yaml:
changed it to:
and it worked. Using capital S breaks the email sending, this seems like a very strange bug. Escape it somewhere in code or at least add a comment to the documentation (don't use a Capital S?). |
you need |
@richvdh Not really. The issue is completely different. I managed to find a workaround (my previous comment), but this is definitely a limitation that at least needs to be documented. |
Have you tried writing |
This works:
Probably your solution works as well. Just saying it's a good idea for it to be documented somehow (here in github or in homeserver.yaml comments). |
are you sure? Have you checked what comes out? The placeholder for the app name is |
@plamenh does https://github.com/matrix-org/synapse/pull/6423/files#diff-8b49bb218a1d7b96778287934cc311eaR1277 help to clarify that? Feel free to comment on that PR if you have further suggestions |
Ok, you might have a point there. What I get in the from field is: Matrixerver instead of Matrix server With the s there it works as expected. |
Description
Cannot register with an e-mail address.
Steps to reproduce
When trying to supply an e-mail at register, we get the error in the title.
Version information
If not matrix.org:
Version: 1.5.1+bionic1
Install method: Debian through matrix-synapse repo
I already tried changing the shared_secret (remove '%' from it). Also checked email_address, token, client_secret, and session id, they don't have any strange characters, especially capital 'S'.
The text was updated successfully, but these errors were encountered: