Add support to urls util for special characters in proxy username and password #47346
Conversation
Hi @rafis, thank you for submitting this pull-request! |
I made rebase to latest devel, how to trigger CI processing again? |
1 similar comment
I made rebase to latest devel, how to trigger CI processing again? |
I have made rebase latest devel, how to trigger CI processing again? |
I have made rebase to latest devel, how to trigger CI processing again? |
@rafis Tests run automatically in CI each time you push new commits to your PR. |
CI is failing because |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
The test
The test
The test
The test
The test
The test
The test
The test
The test
The test
|
SUMMARY
When using any module which uses
ansible.module_utils.urls
and your username or password for proxy contain special characters like '#' you will get the following error:More detailed error log reveals that error happened in
ansible.module_utils.urls
:In my case it was authentication error, because base64 encoded credentials were wrong.
ISSUE TYPE
COMPONENT NAME
ansible.module_utils.urls
ANSIBLE VERSION
ADDITIONAL INFORMATION
For example,
apt_key
module usesansible.module_utils.urls
to download key file. Note the "%23" special character here.Before
After