Merge pull request #15807 from DarrenRainey/develop

Patch for whitespace causing HTTP 500 errors.
This commit is contained in:
snipe 2024-11-13 21:20:26 +00:00 committed by GitHub
commit 796a397d08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -932,7 +932,7 @@ case $setupmail in
echo -n " From name:" echo -n " From name:"
read -r mailfromname read -r mailfromname
sed -i "s|^\\(MAIL_FROM_NAME=\\).*|\\1$mailfromname|" "$APP_PATH/.env" sed -i "s|^\\(MAIL_FROM_NAME=\\).*|\\1\\'$mailfromname\\'|" "$APP_PATH/.env"
echo -n " Reply to address:" echo -n " Reply to address:"
read -r mailreplytoaddr read -r mailreplytoaddr
@ -940,7 +940,7 @@ case $setupmail in
echo -n " Reply to name:" echo -n " Reply to name:"
read -r mailreplytoname read -r mailreplytoname
sed -i "s|^\\(MAIL_REPLYTO_NAME=\\).*|\\1$mailreplytoname|" "$APP_PATH/.env" sed -i "s|^\\(MAIL_REPLYTO_NAME=\\).*|\\1\\'$mailreplytoname\\'|" "$APP_PATH/.env"
setupmail="yes" setupmail="yes"
;; ;;
[nN] | [n|N][O|o] ) [nN] | [n|N][O|o] )