Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SSHConfig.parse to strip leading and trailing whitespace #656

Merged
merged 1 commit into from Jan 19, 2016
Merged

Update SSHConfig.parse to strip leading and trailing whitespace #656

merged 1 commit into from Jan 19, 2016

Conversation

56quarters
Copy link
Contributor

Fixes #499

Based on 1.13 branch.

  • Modified the relevant tests (test_2_parse_config and test_3_host_config) to make sure spaces and newlines were stripped.
  • The existing test test_13_config_dos_crlf_succeeds ensures that \r\n is still handled correctly

bitprophet added a commit that referenced this pull request Jan 19, 2016
Update SSHConfig.parse to strip leading and trailing whitespace
@bitprophet bitprophet merged commit 10bb177 into paramiko:1.13 Jan 19, 2016
bitprophet added a commit that referenced this pull request Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants