Closed gargomoma closed 3 years ago
Describe the bug Hey, there is a problem when opening the 'Traceability Code' link while checking a product.
To Reproduce Steps to reproduce the behavior:
Expected behavior Instead of: https://world.openfoodfacts.org/packager-code/fsc-c014047
The generated URL is: https://world.openfoodfacts.org/packager-code/https://world.openfoodfacts.org/packager-code/fsc-c014047
Smartphone (please complete the following information):
https://github.com/openfoodfacts/openfoodfacts-androidapp/blob/1b3956398d8f81838d7a9f2fd67a0a2b53f5c906/app/src/main/java/openfoodfacts/github/scrachx/openfood/network/services/ProductsAPI.kt#L233
@GET("packager-code/{packager_code}.json")
This is actually unused. I don't think that's the problem.
Describe the bug Hey, there is a problem when opening the 'Traceability Code' link while checking a product.
To Reproduce Steps to reproduce the behavior:
Expected behavior Instead of: https://world.openfoodfacts.org/packager-code/fsc-c014047
The generated URL is: https://world.openfoodfacts.org/packager-code/https://world.openfoodfacts.org/packager-code/fsc-c014047
Smartphone (please complete the following information):