Page MenuHomePhabricator

Empty reply for self redirect loop in REST API
Open, Needs TriagePublic

Description

Hello folks at Wikimedia :)

Edit: the reply is not empty anymore. Still you should definitely check this corner case: what is Rest API response in case of a redirect loop?

Follows the original bug report:

Wikipedia contains pages with redirects loops such as: https://it.wikipedia.org/wiki/Torre_civica_(Treviso)
In this case the not normalized title https://it.wikipedia.org/wiki/Torre_Civica_(Treviso) contains all the data, but it's never reached.

In this case the rest API fails: given the following request - https://it.wikipedia.org/api/rest_v1/page/summary/Torre_Civica_di_Treviso?redirect=true - the reply is empty.

Keep up the great work, Enrico