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

Bug fix: allow forward slash in paths for delete menu #12550

Merged
merged 2 commits into from
Sep 14, 2021
Merged

Conversation

Monkeychip
Copy link
Contributor

I was using encodeURIComponent on the capabilities checks on the secret-delete-menu. This prevented the proper capabilities checks when you had forward slash or dashes in either the engine name or the pathname.

I added test coverage to double check for this in the furture.

This bug was a regression caused by this PR. I'll be backporting to 1.8.

@Monkeychip Monkeychip added this to the 1.8.3 milestone Sep 14, 2021
@vercel vercel bot temporarily deployed to Preview – vault September 14, 2021 17:02 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook September 14, 2021 17:11 Inactive
@Monkeychip Monkeychip merged commit 0d8d454 into main Sep 14, 2021
@Monkeychip Monkeychip deleted the ui/bug-delete-kv branch September 14, 2021 18:30
Monkeychip added a commit that referenced this pull request Sep 14, 2021
* fix bug and add test coverage

* changelog
Monkeychip added a commit that referenced this pull request Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants