Fix certain messages with headers in unknown charsets encoded as quoted printable showing up as blank sender/subject in message list. There are two ways to fix it, and the more accurate but costly one is left unfinished since the easy fix seems to have helped in every case I know of git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14927 7612ce4b-ef26-0410-bec9-ea0150e637f0
Uploaded file sizes seem to be reported differently by PHP filesize(); changing divisor from 1024 to 1000 in this case. You can set $upload_filesize_divisor in config/config_local.php to 1024 if this breaks things for you. Feedback appreciated for this one. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14861 7612ce4b-ef26-0410-bec9-ea0150e637f0
Replace invalid characters with a symbol instead of returning empty string for the entire to be encoded string. Currently, if an email contains such an invalid character, the whole line will be left out, which is rather confusing. Even more when it's the email subject. This constant is only available in PHP 5.4 and up. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14501 7612ce4b-ef26-0410-bec9-ea0150e637f0
Replace calls to htmlspecialchars() with sm_encode_html_special_chars(). New function sm_encode_html_special_chars() encodes HTML special characters by calling htmlspecialchars(). It sets the character set to ISO-8859-1, to fix compatibility with PHP >= 5.4. Patch by Paul Lesniewski. See #3491925 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14346 7612ce4b-ef26-0410-bec9-ea0150e637f0