@ translation bug and fix / some behavior change

---------

From: Jose Kahan (jose.kahan@w3.org)
Date: Mon Aug 04 2003 - 10:52:13 CDT


Hi,

---------------------
@ translations bug fix
---------------------

Some time ago, we had a contribution to change the '@' sign
into its equivalent SGML entity, to minimize the effect of dumb bots.

We noticed that a side-effect was that the mailcommand stopped working
on all the headers, except for the To: one.

The problem is that the '@' was being translated too early and
that it wasn't taken into account when searching the mail for things
that may be converted into mailto:. I just commited a patch to fix this.

------------
Some behavior change that I noticed:

The mailcommand was being specified using an HTML markup. That is, the
whole text was to be inserted without further conversions. So, if I
had a '<' char, I had to use a &lt; entity instead. However, this
doesn't work this way anymore. If you insist, there'll be a double
convertion and the entity will be recoded wrongly as &amp;lt;.

I don't know if this is a willing change or a side effect from the WAI
convertion. In all cases, you need to remove the entities in your
mailcommand definition if you want it to work.

I'm not sure if we should fix this or leave it as it is. As I said
before, I don't know if this was a willing change.

-jose


---------

This archive was generated by hypermail 2.1.7.