-
-
Notifications
You must be signed in to change notification settings - Fork 964
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
SMTP URL doesn't support #
in password
#1532
Comments
Try the url encoded form |
I've tried, but then google will give bad credentials. |
You would supply url encoding, which encodes to Someone else had a similar problem and there the encoding worked: #1539 (reply in thread) It's also a bit confusing that urlencoding it doesn't work, as it would skip the linked code kratos/driver/config/config.go Line 709 in c21bb80
because I wouldn't supply your password to this website, but you should try to url encode the password using https://www.urlencoder.org Maybe you have made a typo by mistake which caused the urlencoded password to fail. |
The best way to prove your suspicion would be to add a failing test case to https://github.com/Zippersk/kratos/blob/master/driver/config/config_test.go which proves that hashtags in passwords (urlencoded) do not work - then we can supply a fix :) |
@aeneasr thanks for the reply. I will have to replace the SMTP configurations soon, so I can test that again when I get to it (probably next week). |
#
in password
Hello contributors! I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue
Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic. Unfortunately, burnout has become a topic of concern amongst open-source projects. It can lead to severe personal and health issues as well as opening catastrophic attack vectors. The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone. If this issue was marked as stale erroneously you can exempt it by adding the Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you! Thank you 🙏✌️ |
Describe the bug
Whenever trying to use the email courier with a SMTP URL where the credentials (password) requires a hashtag, it won't work, possibly because of this line of code:
kratos/driver/config/config.go
Line 709 in c21bb80
Reproducing the bug
Steps to reproduce the behavior:
Expected behavior
For the code to parse correctly the password section of the SMTP URL and if it's not possible to have a particular character, emit an error message explaining that it encountered this problem.
Environment
The text was updated successfully, but these errors were encountered: