Hotfixes

From OpenEMM Wiki

Jump to: navigation, search

Here's a list for user-contributed Hotfixes.


Contents

JSP-Pages not using UTF-8

Affected version: 5.0.2

Fixed since Version: none

Description: Three JSP-Pages don't set the charset to UTF-8.

Symptoms: Your password doesn't work, because it contains a character beyond latin1.

Detail: The login-page works with ISO-8859-1. Browsers out there (inlcuding IE and FireFox) will send cp1252 for characters, that cannot be expressed by ISO-8859-1. The cp1252-encoded Data is then decoded with ISO-8859-1 by the Servlet-Container which will result in incorrect representation of some characters - for example the €-sign. That's not good. The login-page should also use UTF-8.

Hotfix:

  • open htdocs/login.jsp
  • open htdocs/logon.jsp
  • open htdocs/error.jsp
  • add the following line to the beginning of each file:
<%@ page contentType="text/html; charset=utf-8" %>

There is no field for Reply-Address

Affected version: 5.0.2

Fixed in Version: 5.0.3

Description: If you edit a mailing, there is a field for Reply-Name, but no one for Reply-Address.

Symptoms: In your the mails sent by your mailing, you may discover a broken or empty Reply-To-Header.

Detail: If you enter a name into the Reply-Name field, the Reply-To-Header of the mails looks like this:

Reply-To: Name <>

If you enter an email-address into the file Reply-Name, the Reply-To-Header looks like this:

Reply-To:

Both is wrong. We need either no or a full Reply-To-Header.

Also see Bug-Tracker

Hotfix:

  • open htdocs/mailing/view_base.jsp
  • locate the following JSP-code:
<tr> 
  <td><bean:message key="ReplyFullName"/>: </td>
  <td> 
    <html:text property="media[0].replyFullname" maxlength="99" size="42"/>
  </td>
</tr>
  • then add the following JSP-code above it:
<tr> 
  <td><bean:message key="ReplyEmail"/>: </td>
  <td> 
    <html:text property="media[0].replyEmail" maxlength="99" size="42"/>
  </td>
</tr>

Note: The values you enter in the new form-field are not checked, whether they are a correct EMail-address or not.

Views
Personal tools