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

Update xkcdViewer provider to use HTTPS URLs #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sophira
Copy link

@Sophira Sophira commented May 19, 2017

xkcd.com changed to using HTTPS some time ago; the change causes XkcdViewer to fail with "Data returned from website didn't match expected format" as the 301 redirect is attempted to be parsed as JSON, which obviously fails.

While this isn't a complete fix, it should hopefully fix the app enough for it to work again.

Fixes #70.


(Please note that I have not been able to test this as I do not have the correct build environment. I believe that my changes are correct, however!)

xkcd.com changed to using HTTPS some time ago; the change causes
XkcdViewer to fail with "Data returned from website didn't match
expected format" as the 301 redirect is attempted to be parsed as JSON,
which obviously fails.

While this isn't a complete fix, it should hopefully fix the app enough
for it to work again.

Fixes tcoxon#70.
@Sophira
Copy link
Author

Sophira commented May 19, 2017

When I say this isn't a complete fix, I mean that really, the app should be following redirects instead of trying to parse the empty redirect response as JSON. That's for someone to do who actually has the correct build environment, though!

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.

Data returned from website didn't match expected format
1 participant