Don't add HTTP response body/headers to the spellchecker error message (it is displayed to the user)

pull/5268/merge
Aleksander Machniak 8 years ago
parent c478536741
commit f840abe6e0

@ -104,7 +104,6 @@ class rcube_spellcheck_googie extends rcube_spellcheck_engine
$http_status = $m[1]; $http_status = $m[1];
if ($http_status != '200') { if ($http_status != '200') {
$this->error = 'HTTP ' . $m[1] . $m[2]; $this->error = 'HTTP ' . $m[1] . $m[2];
$this->error .= "\n" . $store;
} }
} }

Loading…
Cancel
Save