Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make github.com repo URLs always https #133

Merged
merged 1 commit into from
Nov 7, 2018

Conversation

mlinksva
Copy link
Contributor

In development mode (the default) github.com repo URLs are http,
making sites using edit-link-tag have slightly different builds in
development than on github pages (dotcom) which are also slightly
harder to test for all links being https, eg using html-proofer
with its enforce_https option, and making builds published to
non-github pages hosts have non-https links to github.com.

Trivial patch for a very mild annoyance.

The added test is somewhat contrived, because existing tests don't
trigger the behavior, running in test mode (which defaults scheme
to ssl), or hardcoding the repository url (in the edit-link-tag
test).

In developement mode (the default) github.com repo URLs are http,
making sites using edit-link-tag have slightly different builds in
development than on github pages (dotcom) which are also slightly
harder to test for all links being https, eg using html-proofer
with its enforce_https option, and making builds published to
non-github pages hosts have non-https links to github.com.

Trivial patch for a very mild annoyance.

The added test is somewhat contrived, because existing tests don't
trigger the behavior, running in test mode (which defaults scheme
to ssl), or hardcoding the repository url (in the edit-link-tag
test).
@parkr
Copy link
Member

parkr commented Nov 7, 2018

@jekyllbot: merge +bug

@jekyllbot jekyllbot merged commit 20a35ea into jekyll:master Nov 7, 2018
jekyllbot added a commit that referenced this pull request Nov 7, 2018
@mlinksva mlinksva deleted the https-github-com branch November 8, 2018 19:17
mlinksva added a commit to github/pages-gem that referenced this pull request Jan 3, 2019
To get development mode https testing fix for github.com links from jekyll/github-metadata#133
@jekyll jekyll locked and limited conversation to collaborators Nov 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants