From: Salvador S. F. <sal...@pa...> - 2003-05-21 12:08:29
|
Hi, We are using SM 1.4.0 with Solaris 9, apache 2.0.45, PHP version 4.3.1 an= d PHP Accelerator v1.3.3r2. We have warnings that, when receiving a mail from a user's list (TO: or CC: includes all the adresses) and the friendly name is included ("xx yy" <xx.yy@zz.aa>), sometimes when Replying to all, the list of recipients is truncated at the first address which includes a name with char>asc(127) for example "Tom=E1s Megia" <t.m@d.c>. What we exacty got was: a@b.c, "Tom=E0s Megia" <b@c.d>,... In the CC text entry we only saw: a@b.c, So the list was truncated. After some digging we have found in the source of the html page the following: <input type=3D"text" name=3D"send_to_cc" size=3D"60" value=3D""a1&qu= ot; <a1@b.c>, "Tom=E0s Megia < b@c.d>, ... ----------------! Note the quotation mark above, So the browser finds an end of field.hen receiving a mail from a user's list (TO: or CC: includes all the adresses) and the friendly name is included ("xx yy" <xx.yy@zz.aa>), sometimes when Replying to all, the lis= t of recip The solution that we are using is a str_replace('"','"',$send_to_cc)= , see diff below. We understand that this is not the right answer, but it is the one I had time to find. diff -c proves/src/compose.php webmail/src/compose.php *** proves/src/compose.php Wed May 21 13:24:23 2003 --- webmail/src/compose.php Thu Mar 27 17:47:46 2003 *************** *** 969,975 **** _("CC:") . '</td>' . "\n" . html_tag( 'td', '', 'left', $color[4] ) . ' <input type=3D"text" name=3D"send_to_cc" size=3D"60" value=3D"' . ! str_replace('"','"',$send_to_cc) . '" /><br />' . "\n" . ' </td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . --- 969,975 ---- _("CC:") . '</td>' . "\n" . html_tag( 'td', '', 'left', $color[4] ) . ' <input type=3D"text" name=3D"send_to_cc" size=3D"60" value=3D"' . ! $send_to_cc . '" /><br />' . "\n" . ' </td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . |