Skip to content

Fix issue 69 cmd with apostrophe - #73

Merged
sneal merged 2 commits into
masterfrom
fix-issue-69-cmd-with-apostrophe
Jul 8, 2014
Merged

sneal merged 2 commits into
masterfrom
fix-issue-69-cmd-with-apostrophe

Conversation

@sneal

@sneal sneal commented Jul 8, 2014

Copy link
Copy Markdown
Member

@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

adamedx commented Jul 12, 2014

Copy link
Copy Markdown

@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

sneal commented Jul 12, 2014

Copy link
Copy Markdown
Member Author

@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