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

Fix ability to make POST requests to Wikidata. #3213

Merged
merged 1 commit into from
Nov 22, 2019

Conversation

dbrant
Copy link
Collaborator

@dbrant dbrant commented Nov 20, 2019

Hey folks, I've just gotten around to being able to take a look at this issue you've been having. Fortunately, the fix consists of one line of code.

The correct domain name of Wikidata is www.wikidata.org, not wikidata.org. This matters when making authenticated POST requests.

I was able to test this live in the app (see this item), by working around the other crashes that happen when uploading from Nearby.

@misaochan
Copy link
Member

Wow, thanks so much @dbrant ! :) Looks good to me, but lets wait for @maskaravivek 's review since he was the one working on it.

I was able to test this live in the app (see this item), by working around the other crashes that happen when uploading from Nearby.

Oof. :( We'd need to fix this before release. Any chance you could send us logs of the crashes? What Android version are you using?

@misaochan
Copy link
Member

@maskaravivek has confirmed that it works for him when layered over his other changes. Thanks @dbrant !!

@misaochan misaochan merged commit 02f5cda into commons-app:master Nov 22, 2019
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