[Omail-devel] webmail 0.98.2 patch (From: parsing)
Brought to you by:
swix
From: Jakub N. <nes...@ww...> - 2001-05-16 02:23:55
|
At 1:43 +0200 1.5.2001, Jakub Nesetril wrote: >a) From: so...@em... >b) From: "A name" <so...@em...> >c) From: <so...@em...> > >But in the c) case, the HTML source looks like: > ><a href=3D....><so...@em...></a> - which is causing problems. Fixed. Patch included. (Olivier, I am not sending this word-wrapped. If you still have problems, I will send you a patch via attachment.) Jakub *** omail.pl.orig Wed May 16 03:03:58 2001 --- omail.pl Wed May 16 03:05:11 2001 *************** *** 2684,2690 **** =A0 =A0 =A0 ! ($header{from} =3D~ s/^"?(.+?)"?\s+<(.*)>$/<a href=3D"$scripturl\?actio= n=3Dcomposemessage&sort=3D$sort&firstmessage=3D$regexpmessnum&sessionid=3D= $thissession&composetype=3Dsendto&to=3D$2">$1<\/a>/) || ($header{from} =3D= ~ s/(.+)/<a href=3D"$scripturl\?action=3Dcomposemessage&sort=3D$sort&firs= tmessage=3D$regexpmessnum&sessionid=3D$thissession&composetype=3Dsendto&t= o=3D$1">$1<\/a>/); =A0 =A0 ($header{from1} =3D~ s/^"?(.+?)"?\s+<(.*)>$/$1/); =A0 ($header{from2} =3D~ s/^"?(.+?)"?\s+<(.*)>$/$2/); --- 2684,2690 ---- =A0 =A0 =A0 ! ($header{from} =3D~ s/^"?(.+?)"?\s+<(.*)>$/<a href=3D"$scripturl\?actio= n=3Dcomposemessage&sort=3D$sort&firstmessage=3D$regexpmessnum&sessionid=3D= $thissession&composetype=3Dsendto&to=3D$2">$1<\/a>/) || ($header{from} =3D= ~ s/<?([^>]+)>?/<a href=3D"$scripturl\?action=3Dcomposemessage&sort=3D$so= rt&firstmessage=3D$regexpmessnum&sessionid=3D$thissession&composetype=3Ds= endto&to=3D$1">$1<\/a>/); =A0 =A0 ($header{from1} =3D~ s/^"?(.+?)"?\s+<(.*)>$/$1/); =A0 ($header{from2} =3D~ s/^"?(.+?)"?\s+<(.*)>$/$2/); |