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

escape symbols in names for lavinmqctl #696

Merged
merged 1 commit into from
Jun 14, 2024
Merged

escape symbols in names for lavinmqctl #696

merged 1 commit into from
Jun 14, 2024

Conversation

kickster97
Copy link
Member

WHAT is this pull request doing?

uses URI.encode_www_form to escape symbols in vhost or queue names for laivnmqctl.
currently if you want to create a vhost names rabbit/hole, lavinmqctl crashes.

HOW can this pull request be tested?

try to use lavinmqctl to create vhost "a/b"
then rebuild lavinmqctl with these changes and try again

@carlhoerberg carlhoerberg merged commit 0224db4 into main Jun 14, 2024
23 of 25 checks passed
@carlhoerberg carlhoerberg deleted the escape-names branch June 14, 2024 22:44
viktorerlingsson pushed a commit that referenced this pull request Sep 20, 2024
use URI.encode_www_form to escape symbols in vhost or queue names for laivnmqctl.
Before this if you want to create a vhost named "rabbit/hole", lavinmqctl crashes.
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.

4 participants