Skip to content

Commit

Permalink
Add dependency to pin rexml at <= 3.3.1 as latest versions throw exec…
Browse files Browse the repository at this point in the history
…ption when parsing invalid xml. Without the ping latest gem gets pulled in.

Signed-off-by: Neha Pansare <[email protected]>
  • Loading branch information
neha-p6 committed Aug 9, 2024
1 parent b5417b7 commit 9de47cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions knife-windows.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 2.7", "< 3.1"
s.add_dependency "chef", "~> 17.10"
s.add_dependency "winrm", "~> 2.1"
s.add_dependency "rexml", "<= 3.3.1" # A non xml string parsing will throw an error 3.3.2 onward. https://github.com/ruby/rexml/issues/180
s.add_dependency "winrm-elevated", "~> 1.0"

s.add_development_dependency "pry"
Expand Down

0 comments on commit 9de47cd

Please sign in to comment.