commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Braun (JIRA)" <>
Subject [jira] Created: (EMAIL-93) A dot (".") is appended to some ULRs in the body of an Html type email.
Date Mon, 18 Jan 2010 23:32:54 GMT
A dot (".") is appended to some ULRs in the body of an Html type email. 

                 Key: EMAIL-93
             Project: Commons Email
          Issue Type: Bug
    Affects Versions: 1.2, 1.1
         Environment: jre1.6.0_06, Windows (maybe also Linux)
            Reporter: Brian Braun

I'm using Apache Commons Email 1.2. I create an email using the class "HtmlEmail". I have
tried this both using charsets "ISO_8859_1" and "us-ascii". 
The body of the message I assign to the email includes the URL "".
But when the email is sent, a dot is automatically inserted before the ".zip" part, so the
final url is "" (two dots
before "zip") which doesn't work obiously. The component is inserting this extra dot, I'm
sure of that.

I think the sequence of characters in the URL makes the component fail. Some URLs are being
respected, but this one is not.

This is what the debug output shows in the last part, there you can see the double dots:

	Dan Dykes <>
Subject: Order # TZC268 download procedure
MIME-Version: 1.0
Content-Type: multipart/mixed; 

Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Dear Dan Dykes,<br><br>We have already sent you this email before, and on t=
ime. However, according to a recent email that you have sent us, it seems t=
hat you never received it.

In order to download your order please click on the following link:<br><br>=
<a href=3D""><=
/a><br><br>Customer satisfaction is very important for us. If for any reaso=
n you don't feel satisfied with your order, don't hesitate to contact us. I=
n order to do it, please <a href=3D"">click here</a> rather than sending us =
an email. Doing so, you will significantly expedite the reception and proce=
ssing of your claim.<br><br>In the other hand, if you are happy with our se=
rvice, could you please <a href=3D"">leave a testimonial</=
a>?<br><br>Please note that you may receive more than one copy of this emai=
l, specially if you provided us with more than one email address in your re=
gistration. If you do, it doesn't mean you where charged more than once.<br=
><br>Thanks for your purchase!<br><br>Anthony Concha<br>Sales &
Customer Se=
rvice<br><br><a href=3D"http://www.ManualsParadi="></a><br>We speak English and Spanish

250 OK , completed

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message