aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/roundcubemail/config-disable-remote-spellcheck.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/roundcubemail/config-disable-remote-spellcheck.patch')
-rw-r--r--unmaintained/roundcubemail/config-disable-remote-spellcheck.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/unmaintained/roundcubemail/config-disable-remote-spellcheck.patch b/unmaintained/roundcubemail/config-disable-remote-spellcheck.patch
new file mode 100644
index 0000000000..c1c6d0523a
--- /dev/null
+++ b/unmaintained/roundcubemail/config-disable-remote-spellcheck.patch
@@ -0,0 +1,26 @@
+The default spell checker sends everything you type to some remote server
+(http://spell.roundcube.net). This is de facto keylogger!
+
+This patch just changes the default settings to disable spellcheck
+and set pspell as default (however it requires php7-pspell to be installed).
+
+--- a/config/defaults.inc.php
++++ b/config/defaults.inc.php
+@@ -723,7 +723,7 @@
+ $config['quota_zero_as_unlimited'] = false;
+
+ // Make use of the built-in spell checker. It is based on GoogieSpell.
+-$config['enable_spellcheck'] = true;
++$config['enable_spellcheck'] = false;
+
+ // Enables spellchecker exceptions dictionary.
+ // Setting it to 'shared' will make the dictionary shared by all users.
+@@ -737,7 +737,7 @@
+ // Since Google shut down their public spell checking service, the default settings
+ // connect to http://spell.roundcube.net which is a hosted service provided by Roundcube.
+ // You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
+-$config['spellcheck_engine'] = 'googie';
++$config['spellcheck_engine'] = 'pspell';
+
+ // For locally installed Nox Spell Server or After the Deadline services,
+ // please specify the URI to call it.