diff options
author | fiveNinePlusR <fiveNinePlusR@gmail.com> | 2021-09-17 09:41:05 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-22 10:14:04 +0900 |
commit | 105e037fe8a64dd3331123d45b302f03d555bb21 (patch) | |
tree | ebfb246853325fbc6119ea863e543b3625f6614e /spec/bundler/commands | |
parent | cd2e6318f6502018d398cb9706a286ef5b202bf4 (diff) |
[rubygems/rubygems] Fix possible malicious website to example.com
example.com is the canonical stand in for domain examples and will never have a backing website.
via https://www.rfc-editor.org/rfc/rfc2606.html
https://github.com/rubygems/rubygems/commit/26622c81c2
Diffstat (limited to 'spec/bundler/commands')
-rw-r--r-- | spec/bundler/commands/newgem_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb index 4ccf9be6a8..0a4e683a04 100644 --- a/spec/bundler/commands/newgem_spec.rb +++ b/spec/bundler/commands/newgem_spec.rb @@ -563,7 +563,7 @@ RSpec.describe "bundle gem" do bundle "gem #{gem_name}" expect(generated_gemspec.metadata["allowed_push_host"]). - to match(/mygemserver\.com/) + to match(/example\.com/) end it "sets a minimum ruby version" do |