mozilla-lists.mbou...@spamgourmet.com wrote:
Rick & Sharon wrote:
Rick & Sharon wrote:
<snip>
Messages arrive as HTML. In the message preview window of SM, with
the message displayed, I see a sentence, with 2 words underlined,
and hovering over that changes the cursor as expected for a
hyperlink. But clicking does nothing, and I do not see the expected
URL of the link in the status bar at the bottom of the SM mail
window. If I view the message source (Ctrl-U), I can find the
section which includes the on-screen text.
<snip>
Here's the beginning of the html area after the mail headers:
"--=_cb8726f93e1fb726332572ff60596c58
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
--=_cb8726f93e1fb726332572ff60596c58
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable"
That was followed by a lot of formatting and content, leading to the
code below. On-screen was a green rectangle with the words 'Renew
Now' centered. That link also didn't work. In the code below was a
URL which included a token specifically for me to access my account at
AVG--I've removed that part of the URL, but the 'Renew Now' is in the
last section of text quoted.
<tr>
<td align=3D"center"
style=3D"text-align:center;vertical-align:top;">
<div align=3D"center"
style=3D"margin-left:auto;margin-right:auto;">
<div align=3D"center" class=3D"cta-div"
style=3D"mso-hide:all;wid=
th:auto;">
<table align=3D"center" cellpadding=3D"0"
cellspacing=3D"0" sty=
le=3D"mso-hide:all;margin-left:auto;margin-right:auto;" width=3D"180"
heigh=
t=3D"50">
<tr>
<td align=3D"center" bgcolor=3D"#3da32e"
style=3D"text-alig=
n:center;font-size:16px;line-height:18px;vertical-align:middle;color:#fffff=
f;display:block;background-color:#3da32e;border-radius:4px;"
width=3D"180" =
height=3D"50" class=3D"td-cta-tbl"><a class=3D"cta" href=3D"
http://www.avg.com/cart?addtocart=3Dgsr.0.0.0.12&identifier=3<<snipped>>
"
style=3D"text-align:center;font-size:16px;line-height:18px;color:#3da32e;=
margin:0
auto;-webkit-text-size-adjust:none;text-decoration:none;display:in=
line-block;padding:0;padding-top:15px;padding-bottom:15px;width:180px;" tar=
get=3D"_blank"><font color=3D"#3da32e" face=3D"Verdana, Geneva,
sans-serif"=
size=3D"3"
style=3D"font-size:16px;line-height:18px;color:#3da32e;text-dec=
oration:none;"><span
style=3D"font-size:16px;line-height:18px;color:#ffffff=
;">Renew Now</span></font></a></td>
</tr>
</table>
</div>
</div>
</td>
</tr>
Does this suggest anything?
In the "href=" part, there are a couple of spaces between the opening
quote and the start of the URL. A quick experiment sending myself an
email with:
<a href=" http://www.example.com/">Click Here</a>
has exactly the effect you describe - the text is recognised as a link
(blue underline and cursor changes to a hand), but the URL is not
recognised (not shown in the status bar, and clicking has no effect).
Note that I had to manually craft that email, since inserting a link
SeaMonkey's HTML mail editor strips the extra spaces from the href!
An HTML document with the same link opened in SeaMonkey's browser works
fine, and clicking it leads to <http://www.example.com/>.
The HTML5 specification [1] says that the value of the href attribute
must be "a valid URL potentially surrounded by spaces". I haven't found
a clear statement in specs for earlier HTML versions.
Although the unnecessary presence of those spaces in the href is a bit
odd, it appears they shouldn't strictly cause any problem so the fact
they do may be a bug in SeaMonkey mail (which isn't present in the
browser). The difference in behaviour between mail and browser does seem
a bit odd, as I thought they used the same rendering engine, so perhaps
this is intentional for some reason.
Possibly related to bug 680352, in that whatever blocks links without a
protocol might also block links with the leading spaces (since the link
doesn't start with a protocol). That may well be intentional as a
security protection, since a link to "www.example.com" actually
references a file relative to the email, not "http://www.example.com"!
[1]
<https://www.w3.org/TR/2014/REC-html5-20141028/links.html#attr-hyperlink-href>
Makes perfect sense, syntax is everything in text-based media. That
explains the second email, don't suppose you have any insights for the
first one I described, with [x] references called out in the html code?
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey