Skip to content

strip 'http:' from font URLs to improve HTTPS support - #86

Merged
jazzsequence merged 1 commit into
jazzsequence:devfrom
linkp:fix-fonts
Nov 29, 2017
Merged

strip 'http:' from font URLs to improve HTTPS support#86
jazzsequence merged 1 commit into
jazzsequence:devfrom
linkp:fix-fonts

Conversation

@linkp

@linkp linkp commented Nov 29, 2017

Copy link
Copy Markdown
Contributor

'http:' in the font URLs was creating problems with my newly implemented Content Security Policy which required HTTPS origins. Removing the explicit protocol reference will make the resources adopt whichever is in use in the parent page. Should correct any mixed content warnings as well.

@jazzsequence
jazzsequence merged commit e2d5d64 into jazzsequence:dev Nov 29, 2017
@jazzsequence

Copy link
Copy Markdown
Owner

Thanks! I'll try to get this updated on wp.org but it probably won't happen until after WordCamp US (maybe during, if I have time).

@linkp
linkp deleted the fix-fonts branch November 30, 2017 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants