mirror of
https://github.com/searx/searx
synced 2025-08-30 14:08:47 +00:00
Fix double-encode error (fixes #1799)
This commit is contained in:
@@ -118,9 +118,9 @@ def response(resp):
|
|||||||
'template': 'images.html'
|
'template': 'images.html'
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
result['author'] = author.encode('utf-8')
|
result['author'] = author
|
||||||
result['title'] = title.encode('utf-8')
|
result['title'] = title
|
||||||
result['content'] = content.encode('utf-8')
|
result['content'] = content
|
||||||
except:
|
except:
|
||||||
result['author'] = ''
|
result['author'] = ''
|
||||||
result['title'] = ''
|
result['title'] = ''
|
||||||
|
Reference in New Issue
Block a user