0001-oauth2-fix-typo-in-error-message-22713.patch
fargo/oauth2/utils.py | ||
---|---|---|
26 | 26 |
content_header = request.META['HTTP_CONTENT_DISPOSITION'] |
27 | 27 |
disposition_type, filename = cgi.parse_header(content_header) |
28 | 28 |
if disposition_type != 'attachment': |
29 |
return None, 'wrong disposition type: attachment excpected'
|
|
29 |
return None, 'wrong disposition type: attachment expected' |
|
30 | 30 |
if 'filename*' in filename: |
31 | 31 |
encode, country, name = filename['filename*'].split("'") |
32 | 32 | |
33 |
- |