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

Slug uri compare fix #208

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Slug uri compare fix #208

merged 2 commits into from
Jul 17, 2024

Conversation

TylerZeroMaster
Copy link
Contributor

Use basename to verify collection is named as expected

The problem was that some characters were being uri encoded on one side of the comparison but not the other

Using basename on both side of the comparison should cause both strings to undergo the same transformation

As long as both results are the same, then the validation should pass

The problem was that some characters were being uri encoded on one side of the comparison but not the other

Using basename on both side of the comparison should cause both strings to undergo the same transformation

As long as both results are the same, then the validation passed
@TylerZeroMaster TylerZeroMaster added the bug Something isn't working label Jul 17, 2024
@TylerZeroMaster TylerZeroMaster requested a review from a team July 17, 2024 18:02
@TylerZeroMaster TylerZeroMaster self-assigned this Jul 17, 2024
Copy link
Member

@philschatz philschatz left a comment

Choose a reason for hiding this comment

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

lgtm!

@TylerZeroMaster TylerZeroMaster merged commit 80b43d0 into main Jul 17, 2024
1 check passed
@TylerZeroMaster TylerZeroMaster deleted the slug-uri-compare-fix branch July 17, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants