Re: [1.4.19] email-address from LDAP addressbook is not properly quoted

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

 



On Thu, Jul 23, 2009 at 1:47 AM, Ralf Hildebrandt
<Ralf.Hildebrandt@xxxxxxxxxx> wrote:
> When I'm retrieving an address from LDAP, then the realname containing an
> Umlaut not being properly quoted.

Please try the attached patch.  I'm not sure yet if this is a good
fix, as it may affect other parts of the software.  If you are
interested in helping, you can test this patch by using SquirrelMail
as extensively as possible, and by also watching for my post about it
on the development and/or i18n mailing lists a bit later today.

> I retrieved the message below with "less" from the Sent-folder:
>
> --- snip ---
> Date: Thu, 23 Jul 2009 10:19:26 +0200
> Subject: Test michael.roemer@xxxxxxxxxx
> From: "Ralf Hildebrandt" <ralf.hildebrandt@xxxxxxxxxx>
> To: =?iso-8859-1?Q?R=F6mer=2C_Michael?= <michael.roemer@xxxxxxxxxx>
> User-Agent: SquirrelMail/1.4.19
> MIME-Version: 1.0
> Content-Type: text/plain;charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> Und nochmal mit LDAP Adressbuch
> --- snip ---
>
> As you can see =?iso-8859-1?Q?R=F6mer=2C_Michael?= translates to
> Römer, Michael
> instead of the correct form
> "Römer, Michael"
>
> The interesting thing is that (see PNG here: http://www.arschkrebs.de/roemer.png )
> the compose screen actually displayed:
>
> "Römer, Michael" <michael.roemer@xxxxxxxxxx>
>
> WITH the correct quotes around the realname but in the Sent-Folder it
> looks differently. Even using SquirrelMail to look in the Sent folder I'm
> getting:
>
> An:        Römer, Michael <michael.roemer@xxxxxxxxxx>
>
> again, without the quotes.
>
> So where have the quotes gone? Something is stripping the quotes away
> in the To: field. If I copy the To: field into the Subject: field, the
> Quotes are preserved!
>
> SquirrelMail 1.4.19 on Linux
>  Installed Plugins
>      1. translate
>      2. squirrelspell
>      3. newmail
>      4. sent_subfolders
>      5. message_details
>      6. delete_move_next
>      7. abook_import_export
>      8. addgraphics
>      9. attachment_tnef
>     10. compatibility
>     11. cookie_warning
>     12. folder_sizes
>     13. avelsieve
>     14. ldapquery
>     15. pupdate
>     16. vlogin
>     17. verify_reply_to
>     18. vacation
>     19. unsafe_image_rules
>     20. todo
>     21. squirrel_logger
>     22. change_pass
>     23. calendar
>     24. calendar_sql_backend
>     25. view_as_html
>     26. address_add
>     27. bounce
>     28. naguser
>     29. filters
>     30. mailnotify
>     31. quicksave
>     32. timeout_user
>     33. check_quota
>     34. lockout
>     35. show_user_and_ip
>     36. smime
>
>
> ------------------------------------------------------------------------------
> -----
> 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



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

Attachment: quote_encoded_addresses.diff
Description: Binary data

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
-----
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