You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Siegfried Goeschl (JIRA)" <ji...@apache.org> on 2010/03/27 15:50:27 UTC

[jira] Commented: (EMAIL-93) A dot (".") is appended to some ULRs in the body of an Html type email.

    [ https://issues.apache.org/jira/browse/EMAIL-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850522#action_12850522 ] 

Siegfried Goeschl commented on EMAIL-93:
----------------------------------------

Hi Brian,

I had a look at the issue by adding a new test case to HtmlEmailTest ("testAddZipUrl")  but I'm unable to reproduce the problem. Can you have a look the latest code if I missed something obvious in reproducing the problem?

> A dot (".") is appended to some ULRs in the body of an Html type email. 
> ------------------------------------------------------------------------
>
>                 Key: EMAIL-93
>                 URL: https://issues.apache.org/jira/browse/EMAIL-93
>             Project: Commons Email
>          Issue Type: Bug
>    Affects Versions: 1.1, 1.2
>         Environment: jre1.6.0_06, Windows (maybe also Linux)
>            Reporter: Brian Braun
>            Assignee: Siegfried Goeschl
>
> 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 "http://paradisedelivery.homeip.net/delivery/?file=TZC268X93337.zip". But when the email is sent, a dot is automatically inserted before the ".zip" part, so the final url is "http://paradisedelivery.homeip.net/delivery/?file=TZC268X93337..zip" (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 <as...@yahoo.com>
> Subject: ManualsParadise.com Order # TZC268 download procedure
> MIME-Version: 1.0
> Content-Type: multipart/mixed; 
> 	boundary="----=_Part_1_15190886.1263855298918"
> ------=_Part_1_15190886.1263855298918
> 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"http://paradisedelivery.homeip.net/delivery/?file=3DTZC268X93337=
> ..zip">http://paradisedelivery.homeip.net/delivery/?file=3DTZC268X93337.zip<=
> /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"http://www.ManualsParadise.com/Customer=
> Support.do?issue=3D6&order=3DTZC268">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"http://www.ManualsParadise.com/DisplayAd=
> dTestimonial.do?clientID=3D93337&clientRandom=3D3595">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>anthony@ManualsParadise.com<br><a href=3D"http://www.ManualsParadi=
> se.com">http://www.ManualsParadise.com</a><br>We speak English and Spanish
> ------=_Part_1_15190886.1263855298918--
> .
> 250 OK , completed
> QUIT
> ---------------------------------------------------------------------------------------------------------------------

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