diff options
author | Bundlerbot <bot@bundler.io> | 2019-08-22 07:06:43 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-08-22 07:06:43 +0000 |
commit | 3e6afa55fc064ba1397a780dd863c3f2e85df63e (patch) | |
tree | 82be39a7aad8b44b636ed5840e82834e5c71fd97 /spec/commands/exec_spec.rb | |
parent | ddb6b31e6c320c46831c868376af41c1e09ecbbc (diff) | |
parent | a86b49f1b9c49b9860cbad14e231f26245b54b0f (diff) | |
download | bundler-3e6afa55fc064ba1397a780dd863c3f2e85df63e.tar.gz |
Merge #7322
7322: Fix comments and messages to refer to https url r=bronzdoc a=giraffate
### What was the end-user problem that led to this PR?
End-users experience 301 redirect, or unintentionally visit URL with http.
### What was your diagnosis of the problem?
Following are some examples using curl to explain this problem.
```
$ curl -I http://github.com/capistrano/bundler
HTTP/1.1 301 Moved Permanently
Content-length: 0
Location: https://github.com/capistrano/bundler
```
```
$ curl -I http://guides.rubygems.org/gems-with-extensions/
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Server: GitHub.com
Location: https://guides.rubygems.org/gems-with-extensions/
X-GitHub-Request-Id: 0A1A:1377:32938B:35C160:5D5D5A84
Content-Length: 162
Accept-Ranges: bytes
Date: Wed, 21 Aug 2019 14:51:49 GMT
Via: 1.1 varnish
Age: 0
Connection: keep-alive
X-Served-By: cache-tyo19949-TYO
X-Cache: MISS
X-Cache-Hits: 0
X-Timer: S1566399109.014809,VS0,VE168
Vary: Accept-Encoding
X-Fastly-Request-ID: 9357ee98e56565f92489c8a4e03235ab60eeb27f
```
### What is your fix for the problem, implemented in this PR?
My fix is to replace http URLs with https URLs.
### Why did you choose this fix out of the possible options?
It's because this fix is simple and easy.
Co-authored-by: Takayuki Nakata <f.seasons017@gmail.com>
Diffstat (limited to 'spec/commands/exec_spec.rb')
0 files changed, 0 insertions, 0 deletions