sftp.get() fails on files containing '%' when local_is_path is true. #711
The path interpolation done in sftp.py on line 118 causes the get() call to break if the filename contains the format string operator (%).
Here's an easy way to reproduce the issue:
def test_case(): run('mkdir -p /tmp/interpolation_test') run('touch /tmp/interpolation_test/%f.txt') get('/tmp/interpolation_test', '/tmp')
The text was updated successfully, but these errors were encountered: