1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #1285 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Sendmail uses wrong encoding

Reported by: gertschi83 Owned by: bharat
Priority: minor Milestone: 3.0
Version: GIT HEAD Keywords: mail
Cc:

Description

Steps to reproduce
Change the default language to German and reset your password. You will receive an email where not every character is readable. At least Thunderbird shows "Passwort zurücksetzen anfordern" instead of "Passwort zurücksetzen anfordern".

Cause
The Content-Type is set to ISO-8859-1 instead of UTF-8.

Solution
Change the Content-Type header in the following files:

./modules/notification/helpers/notification.php
./modules/user/controllers/password.php
./modules/gallery/controllers/user_profile.php

The correct way to set the header is:

->header("Content-Type", "text/html; charset=UTF-8")

Change History

Changed 3 years ago by gertschi83

  • version changed from 3.0 RC 2 to GIT HEAD

Changed 3 years ago by bharat

  • milestone set to 3.0

Changed 3 years ago by bharat

  • owner set to bharat
  • status changed from new to assigned

Changed 3 years ago by bharat

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in ff1d8aea2f2805f85ce3cc7e4079d04fb9f1bac4

Note: See TracTickets for help on using tickets.