mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-03 18:07:41 -08:00
Merge pull request #15807 from DarrenRainey/develop
Patch for whitespace causing HTTP 500 errors.
This commit is contained in:
commit
796a397d08
|
@ -932,7 +932,7 @@ case $setupmail in
|
|||
|
||||
echo -n " From name:"
|
||||
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:"
|
||||
read -r mailreplytoaddr
|
||||
|
@ -940,7 +940,7 @@ case $setupmail in
|
|||
|
||||
echo -n " Reply to name:"
|
||||
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"
|
||||
;;
|
||||
[nN] | [n|N][O|o] )
|
||||
|
|
Loading…
Reference in a new issue