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

Redirects do not work, if they are not written in lowercase #12

Open
twestner opened this issue Oct 4, 2021 · 0 comments
Open

Redirects do not work, if they are not written in lowercase #12

twestner opened this issue Oct 4, 2021 · 0 comments

Comments

@twestner
Copy link

twestner commented Oct 4, 2021

As your middleware sets the incoming urls to lowercase, all sys_redirect-records do not match, if they are not written in lowercase.

Perhaps you can add a notice for this to your Readme.

This query helps solving this topic for existing records:
UPDATE sys_redirect set source_path = LOWER(source_path);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant