Hello,
I received the following bug report:
http://bugs.debian.org/395496
And wrote the attached patch, which seems to fix the bug.
Kind Regards,
--
Nekral
Index: Pootle/users.py
===================================================================
--- Pootle/users.py (revision 4151)
+++ Pootle/users.py (working copy)
@@ -24,6 +24,7 @@
from jToolkit import mailer
from jToolkit import prefs
from Pootle import pagelayout
+from email.Header import Header
class RegistrationError(ValueError):
def __init__(self, message):
@@ -410,7 +411,9 @@
message += session.localize("Your registered email address is: %s\n",
email)
smtpserver = self.instance.registration.smtpserver
fromaddress = self.instance.registration.fromaddress
- messagedict = {"from": fromaddress, "to": [email], "subject":
session.localize("Pootle Registration"), "body": message}
+ subject = Header(session.localize("Pootle Registration"),
+ "utf-8").encode()
+ messagedict = {"from": fromaddress, "to": [email], "subject": subject,
"body": message}
if supportaddress:
messagedict["reply-to"] = supportaddress
fullmessage = mailer.makemessage(messagedict)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle