Bob Mottram 8 years ago
parent
commit
bd09d83b81
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-app-mailpile

+ 1
- 1
src/freedombone-app-mailpile View File

401
     disable_email_encryption_at_rest
401
     disable_email_encryption_at_rest
402
 
402
 
403
     # if strict https is enforced then buttons don't work. This is probably a security bug
403
     # if strict https is enforced then buttons don't work. This is probably a security bug
404
-    sed -i "s/Content-Security-Policy/d" $mailpile_nginx_site
404
+    sed -i "/Content-Security-Policy/d" $mailpile_nginx_site
405
 
405
 
406
     # link to the administrator's keyring
406
     # link to the administrator's keyring
407
     if [ -d /var/www/$MAILPILE_DOMAIN_NAME/mail/.gnupg ]; then
407
     if [ -d /var/www/$MAILPILE_DOMAIN_NAME/mail/.gnupg ]; then