Re: 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]

 



On Wed, Dec 21, 2011 at 6:17 AM, Paul Lesniewski <paul@xxxxxxxxxxxxxxxx> wrote:
> On Wed, Dec 21, 2011 at 5:57 AM, Paul Lesniewski <paul@xxxxxxxxxxxxxxxx> wrote:
>> Thanks for the thorough report....
>>
>>> 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.)
>>
>> If you were using a development SVN snapshot from Feb 2011, it was
>> version 1.5.2.
>>
>>> 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.
>>
>> There was an encoding related fix made in September, although that's
>> before the version you seem to be using.  Please make sure
>> templates/default/input.tpl is up to date.  Please try temporarily
>> disabling all plugins (you can use the configuration tool to do this
>> at once without removing your list of enabled plugins for quick
>> re-enabling later).  Also make sure you are not using a modified skin
>> (template set).
>
> On further review, I believe this is specifically related to the
> problem.  The in-page address book search page embeds each address as
> such:
>
> <input type="checkbox" name="send_to_search[T0]" value="&quot;Amy
> Anderson&quot; &lt;amy@xxxxxxxxxxx&gt;" id="send_to_search_T0_"
> /><label for="send_to_search_T0_">To</label>
>
> The fix in September specifically added encoding to addresses in this
> format, and if you are seeing double-encoding here (check your page
> source), then you have added some other fix that tries to target the
> same problem.  You should remove whatever fix you made previously,
> either in templates/default/input.tpl,
> templates/default/addrbook_search_list.tpl or somewhere else.

Possibly you used this:

http://article.gmane.org/gmane.mail.squirrelmail.devel/10062

Please read the rest of that thread for why you should revert that patch.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
-----
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