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 ipv6 handling in redirect middleware #6902
Conversation
I think we may also update the regexp in https://github.com/containous/traefik/blob/v2.2/pkg/provider/traefik/internal.go#L200 with something like |
@jbdoumenjou I agree, i applied your suggestion, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
930843f
to
594b8bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
594b8bd
to
ce05c10
Compare
ce05c10
to
1195864
Compare
What does this PR do?
This PR fixes the regex used by redirect middleware to handle properly ipv6 in urls
Fixes #5197
Motivation
See #5197
More
Added/updated documentationAdditional Notes