mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-22 03:01:17 -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:"
|
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] )
|
||||||
|
|
Loading…
Reference in a new issue