Skip to content

Use URL encoding with /moveTablet #226

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

Merged
merged 1 commit into from
Jul 30, 2020
Merged

Use URL encoding with /moveTablet #226

merged 1 commit into from
Jul 30, 2020

Conversation

ajeetdsouza
Copy link
Contributor

@ajeetdsouza ajeetdsouza commented Jul 29, 2020

Fixes https://discuss.dgraph.io/t/ratel-does-not-url-encode-predicate-in-move-tablet-url/9067.

The tablet variable in the URL is a string, and it has been inserted into the URL without proper encoding, causing issues. I've fixed that by passing the string through encodeURIComponent.


This change is Reviewable

Ratel Preview: Dgraph Preview

@NamanJain8 NamanJain8 requested a review from paulftw July 29, 2020 13:28
@paulftw paulftw merged commit ddfe5bd into hypermodeinc:master Jul 30, 2020
@paulftw
Copy link
Contributor

paulftw commented Jul 30, 2020

Thank you for fixing this, @ajeetdsouza

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants