mirror of https://github.com/ansible/ansible.git
get_url: properly parse filename in content-disposition (#83748)
Since we don't really care about the type we don't have to query for it and just retrieve the filename value. Unfortunately we cannot use module_utils.urls.get_response_filename as we don't have the response object, so just utilize email.message.Message to parse the filename instead of manually doing the work ourselves. Fixes: #83690pull/80637/merge
parent
b3c4154e86
commit
f593eb42a3
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- get_url - fix honoring ``filename`` from the ``content-disposition`` header even when the type is ``inline`` (https://github.com/ansible/ansible/issues/83690)
|
Loading…
Reference in New Issue