Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: keep cgi script path when redirecting to canonical subdomain #9059

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

stephanegigandet
Copy link
Contributor

Fixes some redirects like https://fr-fr.openfoodfacts.org/cgi/user.pl that currently redirect to https://fr.openfoodfacts.org/
this is needed because we disabled user creation on Open Beauty Facts etc. by redirecting to OFF: https://fr.openbeautyfacts.org/cgi/user.pl is redirected to https://fr-fr.openfoodfacts.org/cgi/user.pl

@sonarcloud
Copy link

sonarcloud bot commented Sep 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@raphael0202 raphael0202 merged commit b4ed893 into main Sep 27, 2023
14 checks passed
@raphael0202 raphael0202 deleted the cgi_script_name branch September 27, 2023 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants