crater icon indicating copy to clipboard operation
crater copied to clipboard

If email password (in mail configuration) has `#`, the rest is truncated

Open jakeparis opened this issue 2 years ago • 0 comments

Describe the bug The mail configuration is stored in the .env file. The MAIL_PASSWORD setting is stored without quotes. If the password contains a # character, the rest of the string is considered a comment, and only the part before that is read into the application.

If you wrap the password in double quotes inside the .env file, it works as expected.

Expected behavior A password like K*ujd(#u3_fFp should be read into the application

What happens instead The application sees the above password as K*ujd(

Screenshots If applicable, add screenshots to help explain your problem.

Please complete the following information:

  • Crater version: 6.0.6
  • PHP version: 7.4.30
  • Database type and version: mysql

Optional info

  • OS: [e.g. Ubuntu]
  • Browser: [e.g. chrome, safari]

jakeparis avatar Jul 26 '22 16:07 jakeparis