Extra dot(.) appended in email



I'm using Bonita 7.2.2. I came across very weird scenario.
I'm using Email connector in one of my process and I have a hyperlink in email body.
Some time it is observed that there is an extra '.' (dot) appended in hyperlink URL.
This is very strange as only few emails have this wrong link. I'm stuck and don't know what is happening exactly.

Any help.

Thank you

1 answer


I suspect the source URL already has a dot(.) and you are appending a dot(.) therefore you will see the extra dot(.).

I would verify the source URL has/has not got an existing dot(.) before appending the dot(.), for example

  1. if(url.lastCharacter==="."){
  2. do this
  3. }
  4. else{
  5. do that
  6. }


PS: As this reply offers an answer your question, and if you like it, please Mark UP and/or as Resolved.


Submitted by amitdhage01 on Thu, 04/13/2017 - 08:47

Hello Sean,

Thank you for the reply. This link in the email is hostname:port/something. so the hostname obviously has dot(.) in it. The issue is the dot(.) is not appended at the end of url but extra dot(.) is appended in hostname of url. Also this issue is observed only for few cases and rest of the cases are having actual url in the email received.

Is it something to do with encoding?