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

Fix issue 69 cmd with apostrophe #73

Merged
merged 2 commits into from
Jul 8, 2014
Merged

Conversation

sneal
Copy link
Member

@sneal sneal commented Jul 8, 2014

@pmorton @keiths-osc Fixes WinRM service errors when commands contain single quotes on Ruby 2.x.

sneal added 2 commits July 7, 2014 21:09
- Updated RSpec matchers to use newer expect syntax to replace should syntax.
On Ruby 2.0+ CGI.escapeHTML will escape single quotes to ' which breaks the WinRM web service. We pull out the rendered XML and unescape any single quotes before sending the request.
@adamedx
Copy link

adamedx commented Jul 12, 2014

@sneal, @pmorton, Any chance we can get this ported back to 1.3 with a new gem release to address the issue above referenced by @juliandunn? We've mostly worked around it, but there are some cases that can still get people with knife plugins and we may also be missing other scenarios (e.g. non-English locales) that we haven't yet heard about.

@sneal
Copy link
Member Author

sneal commented Jul 12, 2014

@adamedx I've been working on some minor bug fixes this past week and plan on releasing winrm 1.1.4 next week before I start working on some major changes to the gem.

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.

2 participants