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

[#1134] Use protocol-relative URL for image objects in S2 #1145

Merged
merged 1 commit into from Jan 25, 2015

Conversation

afuna
Copy link
Member

@afuna afuna commented Jan 25, 2015

This means that we cache it as "//" rather than "http://" or "https://"
so it works both pages.

A bit hacky, but makes sure we're limited in scope to website-only
(journals only), and not affecting stuff like email.

Fixes #1134.

@afuna afuna changed the title [#1138] Use protocol-relative URL for image objects in S2 [#1134] Use protocol-relative URL for image objects in S2 Jan 25, 2015
This means that we cache it as "//" rather than "http://" or "https://"
so it works both pages.

A bit hacky, but makes sure we're limited in scope to website-only
(journals only), and not affecting stuff like email.

Fixes dreamwidth#1134.
@afuna
Copy link
Member Author

afuna commented Jan 25, 2015

@zorkian this was the IMGROOT caching code you were referring to before right? or was there something else?

@zorkian
Copy link
Member

zorkian commented Jan 25, 2015

Yup this was it!

zorkian added a commit that referenced this pull request Jan 25, 2015
[#1134] Use protocol-relative URL for image objects in S2
@zorkian zorkian merged commit c5983b9 into dreamwidth:release-1.23 Jan 25, 2015
@afuna afuna deleted the s2-imgroot-cache-bug-1134 branch January 25, 2015 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants