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

Make Policy Path Comparison Case-Insensitive #12719

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

dakshina99
Copy link
Contributor

Description

Currently, the comparison between the Policy Registry Resource Path and the API Registry Resource Path is case-sensitive. However, case sensitivity is not essential for this check and may cause unnecessary mismatches.

Fix

Update the comparison logic to be case-insensitive by converting both paths to lowercase before comparison. This ensures consistency regardless of case differences.

@tharikaGitHub tharikaGitHub merged commit d0299b8 into wso2:master Dec 9, 2024
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migration blocker due to "Policy not foud" error at Revision Deployment
3 participants