-
Notifications
You must be signed in to change notification settings - Fork 5
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 invalid JSON error #22
Comments
Summary of the problem: https://commons-android-app.toolforge.org/tool-commons-android-app/feedback.py?user=Syced returns erroneous JSON:
The script should return correct JSON like https://commons-android-app.toolforge.org/tool-commons-android-app/feedback_test.py?user=Syced shows:
|
urbanecmbot.toolforge.org-powered copy of the script now returns a valid JSON:
I apologize for the delay here – if you do need me urgently, please feel free to ping me (either via mail, or IRC), I might miss notifications from GitHub :/. |
(didn't intend to close this, just wanted to reference the commit; reopening) |
For the record, this is my new .lighttpd.conf which fixes this:
The key part is at the end, it previously said "^/urbanecmbot", since the tool was in a subdirectory. That changed...recently, and the part no longer took effect. I'd fix it in the other tool as well, but it seems I'm not a maintainer there, so I'll leave that to someone else. |
Currently this API returns invalid JSON, leading to display of wrong achievement count in the app. See commons-app/apps-android-commons#3900 for more details.
The text was updated successfully, but these errors were encountered: