Closed eeemarv closed 5 years ago
@eeemarv stof suggested you do this instead: https://github.com/symfony/swiftmailer-bundle/issues/270#issuecomment-448266067
Now using rawurldecode() and including host.
Sorry, I just noticed the naming of the commit is wrong. It should be "rawurlDECode() host, username and password" instead of "rawurlencode". In the code the right function is used though.
Note the query part is already urldecoded as the parse_str() function does this.
@fabpot I know you're focused on Mailer these days, but mind merging this? I think it's a somewhat common problem to run into on a current Symfony4 project, e.g. when following the docs on sending email with GMail https://symfony.com/doc/current/email.html#using-gmail-to-send-emails This will not currently work if a password contains non-ascii characters, even if they get encoded.
Thank you @eeemarv.
234