hypermail2a15 (embeded URL errors)

From: Craig A Summerhill <craig_at_cni.org_at_hypermail-project.org>
Date: Tue, 9 Mar 1999 06:26:39 -0500 (EST)
Message-Id: <9903091126.AA25554_at_a.cni.org>


Daniel,

Here is another bug in the 2a15 code.

URLs appearing within the body of the message that already have brackets around them are not getting HTMLized correctly by 2a15:

   <http://www.cni.org/>

   <http://www.cimi.org/about/how_to_join.html>.

This is what hypermail 2a15 would generate for the above two lines:

&lt;<A HREF="http://www.cni.org/&gt;">http://www.cni.org/&gt;</A>

&lt;<A HREF="http://www.cimi.org/about/how_to_join.html&gt;">

      http://www.cimi.org/about/how_to_join.html&gt;</A>

The problem, as you can see, is the nesting of the &lt; and &gt; when it gets marked up. The program appears to be adding the &gt; to the URL, and then attempting to build an HTML HREF out of it... Correct markups would be...

&lt;<A HREF="http://www.cni.org/">http://www.cni.org/</A>&gt;
&lt;<A HREF="http://www.cimi.org/about/how_to_join.html">

      http://www.cimi.org/about/how_to_join.html</A>&gt;

Haven't tested for other wrappers

   e.g. ( and )

        [ and ]

around the URL to see how 2a15 handles them, but I suspect they would be treated the same.

-- 

   Craig A. Summerhill, Systems Coordinator and Program Officer
   Coalition for Networked Information
   21 Dupont Circle, N.W., Washington, D.C.   20036
   Internet: craig_at_cni.org   AT&Tnet (202) 296-5098
Received on Tue 09 Mar 1999 01:33:34 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT