Allowing anchors when displaying HTML messages

View: New views
1 Messages — Rating Filter:   Alert me  

Allowing anchors when displaying HTML messages

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

All,

  https://sourceforge.net/tracker/index.php?func=detail&aid=2864736&group_id=311&atid=100311

  Anchors to another part of any HTML message are replaced with
blank.png, because SM thinks there is no valid URL in the href.

  The attached patch is a quick hack to allow anchors through,
although it has not been evaluated for abuse potential and the anchor
still opens up in a new window (which would be much more involved to
fix, as the whole Magic HTML code seems to assume that's the only
option you'd ever want).

  If anyone can comment or improve upon this, that would be nice.

-Paul

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



------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-----
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

allow_anchors-1.4.diff (1K) Download Attachment
allow_anchors-1.5.diff (1K) Download Attachment