alecpl
2010-01-08 57837fd6892aed4ad03f250e120f2b2c79e8a5a5
- Bug in spellchecker suggestions when server charset != UTF8 (#1486406)


3 files modified
7 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/steps/mail/spell_googie.inc 4 ●●● patch | view | raw | blame | history
program/steps/mail/spell_pspell.inc 2 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail
===========================
- Bug in spellchecker suggestions when server charset != UTF8 (#1486406)
- Managesieve: Fix requires generation for multiple actions (#1486397)
- Fix LDAP problem with special characters in RDN (#1486320)
- Improved handling of message parts of type message/rfc822
program/steps/mail/spell_googie.inc
@@ -48,7 +48,7 @@
  $out = "POST $path HTTP/1.0\r\n";
  $out .= "Host: $host\r\n";
  $out .= "Content-Length: " . strlen($data) . "\r\n";
  $out .= "Content-type: application/x-www-form-urlencoded\r\n";
  $out .= "Content-Type: application/x-www-form-urlencoded\r\n";
  $out .= "Connection: Close\r\n\r\n";
  $out .= $data;
  fwrite($fp, $out);
@@ -58,6 +58,8 @@
  fclose($fp);
  }
// Don't use server's default Content-Type charset (#1486406)
header("Content-Type: text/xml; charset=".RCMAIL_CHARSET);
print $store;  
exit;
program/steps/mail/spell_pspell.inc
@@ -71,7 +71,7 @@
$out .= '</spellresult>';
header("Content-Type: text/xml");
header("Content-Type: text/xml; charset=".RCMAIL_CHARSET);
echo $out;
exit;