Page MenuHomePhabricator

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

Event Timeline

LinJin created this task.Apr 28 2015, 11:10 PM
LinJin raised the priority of this task from to Needs Triage.
LinJin updated the task description. (Show Details)
LinJin added a subscriber: LinJin.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 28 2015, 11:10 PM
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-API.
Aklapper set Security to None.

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

Anomie claimed this task.Apr 29 2015, 2:46 PM
Anomie added a subscriber: Anomie.

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

Anomie closed this task as Resolved.Apr 29 2015, 3:31 PM

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