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

Use http or https depending on page access #346

Merged
merged 1 commit into from Apr 21, 2016
Merged

Use http or https depending on page access #346

merged 1 commit into from Apr 21, 2016

Conversation

ghost
Copy link

@ghost ghost commented Apr 21, 2016

No description provided.

@PhrozenByte
Copy link
Collaborator

Thank you @ghuron! 👍

@mayamcdougall
Copy link
Collaborator

mayamcdougall commented Apr 21, 2016

I actually have a question about this. Why not always use https for the connection to Google Fonts? That's what I've done in NotePaper and it works fine. Even if the regular page is loaded over http, that doesn't mean the connection to Google Fonts has to use http as well.

It just seems like being secure by default would be the better option. 😕

Edit: Reading the changlog, I see that this was done to avoid a "Mixed Content" error when using https. My argument then would be that when using http for loading the page, it's insecure anyway. The browser is not going to complain that a single element was secured on an insecure page (only the opposite).

PhrozenByte added a commit that referenced this pull request Apr 21, 2016
@PhrozenByte
Copy link
Collaborator

Good point, thank you @smcdougall 😃

PhrozenByte added a commit that referenced this pull request May 11, 2016
```
* [Changed] Improve documentation
* [Changed] Heavily extend nginx configuration docs
* [Changed] Add CSS rules for definition lists to default theme
* [Changed] Always use `on404Content...` execution path when serving a `404.md`
* [Changed] Deny access to `.git` directory, `CHANGELOG.md`, `composer.json`
            and `composer.lock` (`.htaccess` file)
* [Changed] Use Pico's `404.md` to deny access to `.git`, `config`, `content`,
*           `content-sample`, `lib` and `vendor` dirs (`.htaccess` file)
* [Fixed] #342: Fix responsiveness in default theme
* [Fixed] #344: Improve HTTPS detection with proxies
* [Fixed] #346: Force HTTPS to load Google Fonts in default theme
```
PhrozenByte added a commit to picocms/pico-theme that referenced this pull request May 1, 2017
germede pushed a commit to germede/pico-theme that referenced this pull request Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants