You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTP 404 through removed heading slash in Nutripatrol HREF, e.g. https://world.openfoodfacts.org/nutripatrol.openfoodfacts.org/flag/product/?barcode=00000000&source=web&flavor=off.
$nutripatrol_url =~ s/\///; # remove trailing slash if there is one
NUTRIPATROL_URL=https://nutripatrol.openfoodfacts.org/
echo$NUTRIPATROL_URL| sed 's/\///'# "https:/nutripatrol.openfoodfacts.org/". ⚠️ Note the missing slash
What
HTTP 404 through removed heading slash in Nutripatrol HREF, e.g.
https://world.openfoodfacts.org/nutripatrol.openfoodfacts.org/flag/product/?barcode=00000000&source=web&flavor=off
.openfoodfacts-server/lib/ProductOpener/ConfigEnv.pm
Lines 35 to 36 in 8c737c9
Steps to reproduce the behavior
Expected behavior
https://nutripatrol.openfoodfacts.org/flag/product/?barcode=00000000&source=web&flavor=off
Platform (Desktop, Mobile, Hunger Games)
The text was updated successfully, but these errors were encountered: