-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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/atc): uri replace didn't works well if contains the optional group #13024
fix(router/atc): uri replace didn't works well if contains the optional group #13024
Conversation
This PR is ready to review now. Could you please take a look while you have time? I'm not sure if I get your point correctly. |
a78738a
to
427967d
Compare
427967d
to
23ebd29
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.
Thanks for your contribution! The PR is correctly done, except for some minor style issues.
changelog/unreleased/kong/fix-request-transformer-uri-replace.yml
Outdated
Show resolved
Hide resolved
changelog/unreleased/kong/fix-request-transformer-uri-replace.yml
Outdated
Show resolved
Hide resolved
@StarlightIbuki Thank you, I did enable the .editorconfig plugin in my IDE, but it seems didn't work correctly. Will take care of this next time. |
changelog/unreleased/kong/fix-request-transformer-uri-replace.yml
Outdated
Show resolved
Hide resolved
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.
Looks good to me! Thank you for your contribution 🚀
changelog/unreleased/kong/fix-request-transformer-uri-replace.yml
Outdated
Show resolved
Hide resolved
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.
Please use isempty
instead.
@StarlightIbuki @chronolaw Please take a look at the last commit again. |
Co-authored-by: Chrono <[email protected]>
Co-authored-by: Chrono <[email protected]>
Co-authored-by: Mikołaj Nowak <[email protected]>
Co-authored-by: Xumin <[email protected]>
0a5df57
to
96e3b95
Compare
Co-authored-by: hulk <[email protected]>
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.
@git-hulk Thank you for your contribution!
Successfully created cherry-pick PR for |
Thanks all for your help! |
Summary
URI captures are not usable if the first capture is an empty string.
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdTicket reference
Fix #13014, KAG-4474