Skip to content

Commit

Permalink
The test for command injection on Unix platforms should be omitted on…
Browse files Browse the repository at this point in the history
… Windows
  • Loading branch information
aycabta committed May 31, 2021
1 parent ff6f4e6 commit c9ab8fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/rdoc/test_rdoc_rdoc.rb
Expand Up @@ -457,6 +457,7 @@ def test_remove_unparseable_tags_vim
end

def test_remove_unparseable_CVE_2021_31799
omit 'for Un*x platforms' if Gem.win_platform?
temp_dir do
file_list = ['| touch evil.txt && echo tags']
file_list.each do |f|
Expand Down

0 comments on commit c9ab8fe

Please sign in to comment.