Skip to content

Commit f84ae2b

Browse files
committed
fix unicode in smartadd
1 parent 00716fb commit f84ae2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
1.7.10 (unreleased)
22
-------------------
33

4-
- Nothing changed yet.
4+
- make sure smartadd treats unicode correctly [amleczko]
55

66

77
1.7.9 (2013-05-20)

por/dashboard/smartadd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def ticket_provider(project_id):
9898
request=self.request)
9999
]
100100

101-
parser = SmartAddParser(self.request.body,
101+
parser = SmartAddParser(unicode(self.request.body, 'utf8', 'ignore'),
102102
projects=projects,
103103
available_tickets=ticket_provider,
104104
request=self.request)

0 commit comments

Comments
 (0)