Closed tehac closed 4 years ago
Observed behaviour MAILER_URL=smtp://koko%40joko.cz:pass%2F@mailer
Expected behaviour resolveOptions() -> parse_url() does not url decode 'user' & 'pass' $parts = parse_url($options['url']);
Example to fix $options['username'] = urldecode($parts['user']); $options['password'] = urldecode($parts['pass']);
Observed behaviour MAILER_URL=smtp://koko%40joko.cz:pass%2F@mailer
Expected behaviour resolveOptions() -> parse_url() does not url decode 'user' & 'pass' $parts = parse_url($options['url']);
Example to fix $options['username'] = urldecode($parts['user']); $options['password'] = urldecode($parts['pass']);