Skip to content
Snippets Groups Projects
Unverified Commit cb8f95c8 authored by AsadAzam's avatar AsadAzam Committed by GitHub
Browse files

Merge pull request #22906 from edx/asad/prod-1127

Fixed bytes in filename
parents ec2ca0bd 86b3dfbc
No related branches found
Tags release-2020-03-03-18.46
No related merge requests found
......@@ -264,7 +264,7 @@ def download_transcripts(request):
# Construct an HTTP response
response = HttpResponse(content, content_type=mimetype)
response['Content-Disposition'] = u'attachment; filename="{filename}"'.format(filename=filename.encode('utf-8'))
response['Content-Disposition'] = u'attachment; filename="{filename}"'.format(filename=filename)
return response
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment