Skip to content

Commit ddfe5bd

Browse files
authored
Use URL encoding with /moveTablet (#226)
1 parent 6e6738f commit ddfe5bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/Cluster/MoveTabletModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default function MoveTabletModal({ fromGroup, tablet, groups, onHide }) {
4848
const getUrl = () =>
4949
`${sanitizeUrl(
5050
zeroUrlInput,
51-
)}/moveTablet?tablet=${tablet}&group=${targetGroup}`;
51+
)}/moveTablet?tablet=${encodeURIComponent(tablet)}&group=${targetGroup}`;
5252

5353
const humanizeGroupSize = group => {
5454
const space = Object.values(group.tablets || {}).reduce(

0 commit comments

Comments
 (0)