oauth2: fix typo in error message (#22713)
This commit is contained in:
parent
e98b74dccc
commit
666fe66494
|
@ -32,7 +32,7 @@ def get_content_disposition_value(request):
|
|||
content_header = request.META['HTTP_CONTENT_DISPOSITION']
|
||||
disposition_type, filename = cgi.parse_header(content_header)
|
||||
if disposition_type != 'attachment':
|
||||
return None, 'wrong disposition type: attachment excpected'
|
||||
return None, 'wrong disposition type: attachment expected'
|
||||
if 'filename*' in filename:
|
||||
encode, country, name = filename['filename*'].split("'")
|
||||
|
||||
|
|
Loading…
Reference in New Issue