Page MenuHomePhabricator

Empty API response from http://commons.wikimedia.org/
Closed, ResolvedPublic

Event Timeline

LinJin raised the priority of this task from to Needs Triage.
LinJin updated the task description. (Show Details)
LinJin subscribed.
Aklapper renamed this task from Strange API response from http://commons.wikimedia.org/ . to Empty API response from http://commons.wikimedia.org/.Apr 29 2015, 9:04 AM
Aklapper added a project: MediaWiki-Action-API.
Aklapper set Security to None.

Seems to work without the &rccontinue=20150428193830|164017206 ?

Anomie subscribed.

There's a code path where the UTF-8 normalization wasn't being done, and there's a log entry in there that has a truncated UTF-8 character. Under HHVM, this makes json_encode fail the whole string.

Change 207450 had a related patch set uploaded (by Anomie):
API: ApiResult must validate even when using numeric auto-indexes

https://gerrit.wikimedia.org/r/207450

Change 207456 had a related patch set uploaded (by Anomie):
API: ApiResult must validate even when using numeric auto-indexes

https://gerrit.wikimedia.org/r/207456

Change 207450 merged by jenkins-bot:
API: ApiResult must validate even when using numeric auto-indexes

https://gerrit.wikimedia.org/r/207450

Change 207463 had a related patch set uploaded (by Chad):
API: ApiResult must validate even when using numeric auto-indexes

https://gerrit.wikimedia.org/r/207463

Change 207456 merged by jenkins-bot:
API: ApiResult must validate even when using numeric auto-indexes

https://gerrit.wikimedia.org/r/207456

Fixed and backported.

Change 207463 merged by jenkins-bot:
API: ApiResult must validate even when using numeric auto-indexes

https://gerrit.wikimedia.org/r/207463