Address Book "Compose To" button does not translate html special characters when Javascript is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Version: 1.5.2-SVN (10282011 tarball)

Plugins:
    1. filters 
    2. message_details 
    3. New Mail (newmail) CORE

PHP: 5.3.6 with Suhosin-Patch (cli) (built: Jun 20 2011
11:57:43)

Web server: nginx/1.0.4

IMAP server: Panda IMAP 2010.415

SMTP server: Exim version 4.76

Server OS: FreeBSD 8.2-RELEASE (i386)

Client OS: Ubuntu/Lucid (amd64)

Web Browser: Firefox 4.0.1

Problem (bug/feature?):

Recently upgraded from 1.5.1-SVN (circa February 2011) to 1.5.2-SVN
(10282011 tarball).  (By the way, happy to see that the "Copy" button
is finally working without a hack.)

Had never used the Address Book before.  Using it now with about forty
entries.

"Options/Compose Preferences/Format of Addresses Added From Address
Book" is set to "Full name and address"

and 

"Options/Display Preferences/Use Javascript" is set to "Autodetect."

When one or more recipients is or are ticked while in the "Compose"
window embedded Address Book and "Use Addresses" is clicked, the "To,"
"CC," or "BCC" fields are populated correctly as follows:

    "Recipient's Name" <Recipient@xxxxxxxxxxx>

On the other hand, when one or more recipients is or are ticked while
in the Address Book frame and "Compose To" is clicked, the "To," "CC,"
or "BCC" fields are populated incorrectly as follows:

    &quot;Recipient's Name&quot; &lt;Recipient@xxxxxxxxxxx&gt;

In other words, the double quote `"' and the angle brackets `<>'
special html characters are not being translated.

This also occurs when "Options/Compose Preferences/Format of Addresses
Added From Address Book" is set to "Nickname and address" but does not
occur when it is set to "No prefix/Address only" (probably because the
address does not require the addition of angle brackets `<>').

Setting "Options/Display Preferences/Use Javascript" to "Never"
completely stops this behavior.

There are some cryptic settings and comments on html translations in the
"functions/htmlentities" file.  In particular:

(Starts at line 44)
"* --- Full list of entities (w3.org html4.01 recommendations)
 * 1. regural (sic) symbols
 * U+0022 - &quot;
 *          (replaced only when $style is not ENT_NOQUOTES or 0)
 * U+0026 - &amp;
 * U+0027 - &#39;
 *          (replaced only when $style is ENT_QUOTES or 3)
 * U+003C - &lt;
 * U+003E - &gt;"

Not sure, though, of their significance.

Any ideas?

Thank you.

-- 
Casco


------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux