-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Encode URL in mail components #3634
Comments
You have to encode special characters (e.g. |
It was always like that and there is nothing Spring Integration specific. So, closing as |
There is also a message note in the docs: https://docs.spring.io/spring-integration/docs/current/reference/html/mail.html#mail-namespace
|
After some team discussion we decided to reopen this issue with a decision to introduce an |
Thanks @garyrussell, @artembilan yes, I'll try to find answers from stackoverflow first, regret for inconvenience |
Turns out there is nothing needed to be added into the framework.
|
cool |
In what version(s) of Spring Integration are you seeing this issue?
For example:
5.3.8.RELEASE
Between 4.3.15 and 5.2.5
Describe the bug
Getting UnknownHostException if imap password contains '@' character.
for Example :
spring:
imapUser: 'username'
imapSecret: 'springmail@123'
'imaps://${spring.imapUser}:${spring.imapSecret}@${spring.imapHost}:993/INBOX'
Caused by: java.net.UnknownHostException: 123@imap7.xxx.com in case
To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Sample
A link to a GitHub repository with a minimal, reproducible sample.
Reports that include a sample will take priority over reports that do not.
At times, we may require a sample, so it is good to try and include a sample up front.
The text was updated successfully, but these errors were encountered: