[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4225: lynx fails to substitute %XX in mailto: URLs



Package: lynx
Version: 2.4-FM-960316-1

See the page
<URL:http://chiark.chu.cam.ac.uk/~ijackson/bad-mailto.html> (a copy of
the page is included below).

If you load this page in lynx and select the `spong' you will enter a
dialogue offering to send mail to `ijackson%40chiark.chu.cam.ac.uk',
and if you accept this it does actually send mail to the address with
the %40 untranslated.

The same problem happens if you try to use the <LINK REV=MADE ...> to
send a comment to the document author (ie, press the `c' key).

According to RFC1738 URL's may be encoded in this way, and in fact it
advises that they must be so encoded if they contain certain
characters.

For example, the quote character " must be quoted if it appears in a
local-part of an email address to stop it from being interpreted as
the end of the URL's delimiter in the surrounding hypertext.

Ian.

<html><head>
<link rev=made href="mailto:ijackson%40chiark.chu.cam.ac.uk";>
<title>test page</title>
</head><body>

<h1>testing 1 2 3</h1>
<A href="mailto:ijackson%40chiark.chu.cam.ac.uk";>spong</A>

</body></html>



Reply to: