Steps to replicate the issue (include links if applicable):
- Try to fetch segmented page contents for a multi-word title. The title in the URL should use spaces (not underscores) to separate the words. (e.g. https://cxserver.wikimedia.org/v2/page/en/el/Identity%20document)
What happens?:
The request fails.
What should have happened instead?:
The request should work for both normalized and non-normalized page titles, i.e. in the above example, the following URLs should be equal:
- https://cxserver.wikimedia.org/v2/page/en/el/Identity%20document
- https://cxserver.wikimedia.org/v2/page/en/el/Identity_document
Currently, only the second URL works properly in production.
It is worth nothing that for some reason I cannot reproduce this issue on my local cxserver installation, that is both normalized and non-normalized titles work properly for this endpoint.