|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Regression from 1.4.15 -> 1.4.17* Click on "Compose"
* Click on the "Addresses" button (below the Subject: line) * https://webmail.charite.de/squirrelmail/src/addrbook_popup.php opens * (We have an LDAP based address book) * I look for Hildebrandt and get: javascript:to_address('Hildebrandt,%20Ralf%20<ralf.hildebrandt@...>'); Which results in the To: field: Hildebrandt, Ralf <ralf.hildebrandt@...> The old version did this: javascript:to_address('ralf.hildebrandt@...'); Which results in the To: field: ralf.hildebrandt@... I want the old behaviour back :) OR correct quoting of the "realname". -- Ralf Hildebrandt (i.A. des GB IT) Ralf.Hildebrandt@... Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 Geschäftsbereich IT Standort CBF I'm looking for a job! ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
|
|
Re: Regression from 1.4.15 -> 1.4.17On Mon, Dec 8, 2008 at 7:09 AM, Ralf Hildebrandt
<Ralf.Hildebrandt@...> wrote: > * Click on "Compose" > * Click on the "Addresses" button (below the Subject: line) > * https://webmail.charite.de/squirrelmail/src/addrbook_popup.php > opens > * (We have an LDAP based address book) > * I look for Hildebrandt and get: > javascript:to_address('Hildebrandt,%20Ralf%20<ralf.hildebrandt@...>'); > Which results in the To: field: > Hildebrandt, Ralf <ralf.hildebrandt@...> > > The old version did this: > javascript:to_address('ralf.hildebrandt@...'); > Which results in the To: field: > ralf.hildebrandt@... > > I want the old behaviour back :) OR correct quoting of the "realname". In my reading, RFC does not require quoting of the "real" name (it is optional). However, the possible presence of the comma demands quotes in this application. The problem you see isn't a regression per se, it's the result of the fact that SM was fixed to actually obey the user configuration for how email addresses should be carried from the address book to the compose screen.... and it exposed this bug. The fix has been committed to SVN, and is here (and pasted in below for your convenience): http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/addressbook.php?view=patch&r1=13366&r2=13365&pathrev=13366 Thanks a lot for pointing this out. Cheers, Paul Index: functions/addressbook.php =================================================================== --- functions/addressbook.php (revision 13343) +++ functions/addressbook.php (working copy) @@ -353,9 +353,9 @@ global $data_dir, $username; $addrsrch_fullname = getPref($data_dir, $username, 'addrsrch_fullname', 'fullname'); if ($addrsrch_fullname == 'fullname') - return $row['name'] . ' <' . trim($row['email']) . '>'; + return '"' . $row['name'] . '" <' . trim($row['email']) . '>'; else if ($addrsrch_fullname == 'nickname') - return $row['nickname'] . ' <' . trim($row['email']) . '>'; + return '"' . $row['nickname'] . '" <' . trim($row['email']) . '>'; else // "noprefix" return trim($row['email']); } ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
|
|
Re: Regression from 1.4.15 -> 1.4.17* Paul Lesniewski <paul@...>:
> In my reading, RFC does not require quoting of the "real" name (it is > optional). Yes, but if I send the mail using SM, it sends to: Hildebrandt, ralf, ralf.hildebrandt@... --> Hildebrandt@$mydomain, ralf@$mydomain, ralf.hildebrandt@... > However, the possible presence of the comma demands quotes in this > application. See :) ? > The problem you see isn't a regression per se, it's the result of the > fact that SM was fixed to actually obey the user configuration for how > email addresses should be carried from the address book to the compose > screen.... and it exposed this bug. Good. > The fix has been committed to SVN, and is here (and pasted in below > for your convenience): Thanks. I'll try it. > http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/addressbook.php?view=patch&r1=13366&r2=13365&pathrev=13366 > > Thanks a lot for pointing this out. > > Cheers, > > Paul > > > Index: functions/addressbook.php > =================================================================== > --- functions/addressbook.php (revision 13343) > +++ functions/addressbook.php (working copy) > @@ -353,9 +353,9 @@ > global $data_dir, $username; > $addrsrch_fullname = getPref($data_dir, $username, > 'addrsrch_fullname', 'fullname'); > if ($addrsrch_fullname == 'fullname') > - return $row['name'] . ' <' . trim($row['email']) . '>'; > + return '"' . $row['name'] . '" <' . trim($row['email']) . '>'; > else if ($addrsrch_fullname == 'nickname') > - return $row['nickname'] . ' <' . trim($row['email']) . '>'; > + return '"' . $row['nickname'] . '" <' . trim($row['email']) . '>'; > else // "noprefix" > return trim($row['email']); > } > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > ----- > squirrelmail-devel mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squirrelmail-devel@... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel > List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel -- Ralf Hildebrandt (i.A. des GB IT) Ralf.Hildebrandt@... Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 Geschäftsbereich IT Standort CBF I'm looking for a job! ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
|
|
Re: Regression from 1.4.15 -> 1.4.17* Ralf Hildebrandt <Ralf.Hildebrandt@...>:
> Thanks. I'll try it. Works perfectly, thanks again. -- Ralf Hildebrandt (i.A. des GB IT) Ralf.Hildebrandt@... Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 Geschäftsbereich IT Standort CBF I'm looking for a job! ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
|
|
Re: Regression from 1.4.15 -> 1.4.17On Tue, Dec 9, 2008 at 3:11 AM, Ralf Hildebrandt
<Ralf.Hildebrandt@...> wrote: > * Ralf Hildebrandt <Ralf.Hildebrandt@...>: > >> Thanks. I'll try it. > > Works perfectly, thanks again. Thank you for the feedback. (BTW, did you have a chance to test the Squirrel Logger mass mail alert issue?) ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
| Free embeddable forum powered by Nabble | Forum Help |