Aaron Patterson 4f51f6243e [rubygems/rubygems] Restrict what schemes are acceptable in the remote fetcher
The remote fetcher only works with certain schemes (`http`, `https`,
`s3`, and `file`).  It's possible for other schemes to show up in this
code and it can cause bugs.

Before this patch, doing `gem install path:///hello` would result in an
infinite loop because this function would do `send "fetch_path"`,
calling itself forever.  Now we see an exception.

I think we should validate gem names earlier, but it's really best
practice to restrict the possible strings passed to `send`.

https://github.com/rubygems/rubygems/commit/54e2781b73
2025-10-16 23:40:04 +00:00
..
2025-06-04 12:47:29 +09:00
2025-06-11 05:04:16 +00:00
2025-10-16 12:43:49 +00:00
2025-10-07 01:12:43 +00:00
2025-05-20 18:22:41 +09:00
2025-07-15 12:57:18 +02:00
2025-10-06 19:10:44 +09:00
2025-06-17 09:41:45 +00:00
2025-07-08 06:11:04 +00:00
2025-06-19 01:53:19 +00:00