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

Bug#4226: Mosaic fails to substitute %XX in mailto: URLs



Package: mosaic
Version: 2.7b5-2

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 Mosaic and click on the `spong' URL you will
see a dialogue box 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.

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: