Convert domain redirect source domain to lowercase

Created on 5 April 2019, over 5 years ago
Updated 14 August 2024, 4 months ago

I copied and pasted some domains to be redirected, but they weren't working as expected. After debugging, I found that they weren't matching because I had entered the domains with camel case - the host provided from the request object is always lowercase and strictly matched.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada gapple

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024