MailEnable 9 Webmail Reply Email Hangs (Fixed)

Discussion forum for Enterprise Edition.
Post Reply
garyrowswell
Posts: 11
Joined: Wed Sep 05, 2012 9:55 am

MailEnable 9 Webmail Reply Email Hangs (Fixed)

Post by garyrowswell » Wed Sep 09, 2015 9:51 am

Just fixed a javascript error with the MailEnable 9 Webmail

Scenario is replying to an email when the recipient contains quote marks.

Basically these are not escaped and cause javascript errors.

I edited C:\Program Files (x86)\Mail Enable\bin\NETWebMail\Mondo\lang\sys\Forms\MAI\Compose.aspx and changed the line

oTarget.value = "<%= FrmMsgTo %>";

to

oTarget.value = "<%= HttpUtility.HtmlEncode(FrmMsgTo) %>";

The MailEnable developers should apply this to the next release

garyrowswell
Posts: 11
Joined: Wed Sep 05, 2012 9:55 am

Re: MailEnable 9 Webmail Reply Email Hangs (Fixed)

Post by garyrowswell » Wed Sep 09, 2015 3:14 pm

Actually although this allows the page/javascript to continue, there is still a problem with the value within To field, which only wants to have an email address and no name at all

The quote marks seem to brake that part

Post Reply