Join GitHub today
[2018.3] Fixes to utils/s3.py #48328
What does this PR do?
Need to pass the URL path through quote to ensure any special characters are being quoted properly. if we include local_file for a PUT, read the file into data before passing it along to requests.requests.
What issues does this PR fix or reference?
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.
@garethgreenaway Can you fix up the lint violation? https://jenkins.saltstack.com/job/PR/job/salt-pr-lint-n/22943/violations/file/salt/utils/s3.py/