Skip to content

Conversation

@Revolyssup
Copy link
Contributor

Fixes #
While calculating the value of the key, the current logic overrides the original key and stores the wrong key in the cache causing cache miss. This PR makes sure that original key is not modified.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Jun 9, 2025
Copy link
Member

@membphis membphis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ^_^

@Revolyssup Revolyssup requested review from bzp2010 and moonming June 9, 2025 08:33
@moonming moonming merged commit 5aa842f into apache:master Jun 10, 2025
20 checks passed
@Revolyssup Revolyssup deleted the revolyssup/key-mod-bug branch June 10, 2025 04:16
Crazy-xyr pushed a commit to Crazy-xyr/apisix that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants