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(router): host matches should be case insensitive as per RFC 3986 #14198

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ms2008
Copy link
Contributor

@ms2008 ms2008 commented Jan 20, 2025

Summary

fix(router) host matches should be case insensitive as per RFC 3986

RFC3986 (section 3.2.2) states that host header is case insensitive.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix FTI-6158

RFC3986 (section 3.2.2) states that host header is case insensitive.
@github-actions github-actions bot added core/router cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Jan 20, 2025
@ms2008 ms2008 force-pushed the feat/host-match-case-insensitive branch 2 times, most recently from 839b741 to a9c5620 Compare January 20, 2025 10:17
@ms2008 ms2008 force-pushed the feat/host-match-case-insensitive branch from a9c5620 to f085128 Compare January 20, 2025 14:02
@ms2008
Copy link
Contributor Author

ms2008 commented Jan 21, 2025

Still have a issue here is that when using expressions to configure routes, the expressions must be in lowercase. I still need to discuss the best solution with the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/router size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant