Replace calls to htmlspecialchars() with sm_encode_html_special_chars().
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 9 Dec 2012 12:06:30 +0000 (12:06 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 9 Dec 2012 12:06:30 +0000 (12:06 +0000)
commit3047e291f2982efe9501ec790faafd3da843d22d
tree22d479f599c9031ef3b30f73e649e553c1175af1
parentffa9cc0ed8a813c3009a2aa03cde7f883f4bed32
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
75 files changed:
class/mime/Rfc822Header.class.php
class/template/PHP_Template.class.php
class/template/Smarty_Template.class.php
class/template/Template.class.php
functions/addressbook.php
functions/attachment_common.php
functions/display_messages.php
functions/folder_manip.php
functions/forms.php
functions/global.php
functions/imap_general.php
functions/imap_mailbox.php
functions/imap_messages.php
functions/mailbox_display.php
functions/mime.php
functions/options.php
functions/page_header.php
functions/strings.php
include/init.php
include/languages.php
include/options/display.php
include/options/personal.php
plugins/administrator/options.php
plugins/calendar/calendar.php
plugins/calendar/calendar_data.php
plugins/calendar/day.php
plugins/calendar/event_create.php
plugins/calendar/event_delete.php
plugins/calendar/event_edit.php
plugins/change_password/backend/ldap.php
plugins/change_password/backend/peardb.php
plugins/change_password/options.php
plugins/filters/options.php
plugins/filters/spamoptions.php
plugins/fortune/functions.php
plugins/info/functions.php
plugins/info/options.php
plugins/listcommands/mailout.php
plugins/listcommands/templates/default/mailout.tpl
plugins/mail_fetch/fetch.php
plugins/mail_fetch/functions.php
plugins/mail_fetch/options.php
plugins/message_details/message_details_bottom.php
plugins/newmail/functions.php
plugins/newmail/newmail_opt.php
plugins/spamcop/options.php
plugins/spamcop/spamcop.php
plugins/squirrelspell/modules/check_me.mod
plugins/squirrelspell/modules/edit_dic.mod
plugins/squirrelspell/modules/forget_me.mod
plugins/squirrelspell/modules/lang_change.mod
plugins/squirrelspell/sqspell_functions.php
plugins/translate/functions.php
src/addrbook_search.php
src/addrbook_search_html.php
src/addressbook.php
src/compose.php
src/configtest.php
src/folders.php
src/login.php
src/options_highlight.php
src/options_identities.php
src/options_order.php
src/read_body.php
src/right_main.php
src/search.php
src/vcard.php
src/view_header.php
templates/default/addrbook_addedit.tpl
templates/default/addressbook_search_form.tpl
templates/default/input.tpl
templates/default/options_order.tpl
templates/default_advanced/options_order.tpl
templates/util_addressbook.php
templates/util_read.php