Needs work
Project:
Query Parameters To URL
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Nov 2015 at 06:27 UTC
Updated:
4 Aug 2021 at 14:23 UTC
Jump to comment: Most recent
When using path prefixes for language and globalredirect the module causes a redirect loop because it fails to add path prefix to $_SERVER['REQUEST_URI'].
This patch fixes this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| language_prefix.patch | 1.67 KB | Luxian |
Comments
Comment #3
anybodyPlease explain in an example how to set the regular expression when language prefixes are used.
Is it for example:
{(^de/produkte|^en/products)}?
or {(^produkte|^products)} ?
Comment #4
anybodyThe 2nd one seems to match, but leads to an infinite redirect loop as this issue describes.
Comment #5
anybodyTesting the patch above for the described case:
WITHOUT the patch the module leads to a redirect error
WITH the patch to a 404