Skip to content

Wrong URL redirection #1219

Open

Description

Summary:

The URL redirects wrongly to another url barring access to ingredients list for France

Steps to reproduce:

Enter this URL:- http://fr.openfoodfacts.org/state/complete/ingredients.json
It redirects to- https://fr.openfoodfacts.org/etat/complet.json

Expected behavior:

It should redirect to- http://fr.openfoodfacts.org/state/complete/ingredients.json

Observed behavior:

It redirects to- https://fr.openfoodfacts.org/etat/complet.json
and thus we're unable to access ingredients data for France.
Works fine for any other locale(eg:- world, uk, in etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    APIIssues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…)API READAll READ APIs include Product, Search…

    Projects

    • Status

      To discuss and validate

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions