fix simple_error_message encoding
Fixes: https://pagure.io/koji/issue/2341
This commit is contained in:
parent
53ff792a53
commit
60048297dc
1 changed files with 1 additions and 0 deletions
|
|
@ -288,6 +288,7 @@ class Dispatcher(object):
|
|||
if err:
|
||||
result.append("<p>%s</p>\n" % err)
|
||||
result.append("</body></html>\n")
|
||||
result = [x.encode('utf-8') for x in result]
|
||||
length = sum([len(x) for x in result])
|
||||
headers = [
|
||||
('Allow', 'GET, POST, HEAD'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue