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

Prevents duplicate host file records in Windows #264

Merged
merged 1 commit into from
May 18, 2018
Merged

Prevents duplicate host file records in Windows #264

merged 1 commit into from
May 18, 2018

Conversation

jalandis
Copy link
Contributor

Moves newlines out of quoted header and footer.
Matches carriage return along with newline in hosts file pattern.

Closes #263

Tested with a RedHat 7.4 and Windows guest.

There is still an issue with whitespace duplicated in existing records. The encode method with crlf_newline seems to add a carriage returns every time it is applied.

@seth-reeser seth-reeser merged commit 7281dae into devopsgroup-io:master May 18, 2018
@seth-reeser
Copy link
Member

Thanks, @jalandis!

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