On Mon, Jun 30, 2008 at 8:28 AM, chris <chris@xxxxxxxxx> wrote: > Hello, > > We are currently having an issue with URL formatting in Squirremail when a > plain text message is opened the URL link is not properly displayed so a > user can click on it an take them to the full URL destination. The > highlighting stops when Squirrelmail comes across the ( or ) in the URL. > > Here is an example of the URL: > > http://nscincentiverewards.com/rd_p?p=137148&t=1360&c=20692-ipodtrv_120_pzangelinalips-a&a=(this)-is-a-test=a&a37148&t=1360&c=20692-7podtrv81367a946f7743fb58b71aa040a12c5c5c9a95df > > The characters () seem to be valid according to RFC 1738 It's not just a matter of RFC in the case of webmail. The problem is that a lot of people put URIs in an assortment of places in their emails... for example, in parenthesis (http://en.wikipedia.org/wiki/Parenthesis) or other places that make parsing the URI out of the email text challenging to say the least. > No matter where in the link you move the ( or ) character the displaying of > the URL in Squirrelmail stops at the characters. > > Has anyone else seen this behavior or know how to fix the problem? You can "fix" the issue by opening functions/url_parser.php and find the line where $url_parser_poss_ends is defined (probably line 84), and remove both "(" and ")" from that list. > Here is the server versions: > > OS version: Red Hat Enterprise Linux ES release 4 (Nahant Update 6) > Mysql version: mysql Ver 14.7 Distrib 4.1.20 > PHP version: PHP 4.3.9 > Squirrelmail version: squirrelmail-1.4.13 > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ----- 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