Skip to content

Commit

Permalink
fix(ui): encode schemaId in URL to handle special characters (#1917)
Browse files Browse the repository at this point in the history
  • Loading branch information
gantoin authored Aug 30, 2024
1 parent 920746f commit bea777d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/containers/Schema/SchemaDetail/Schema.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Schema extends Root {
},
() => {
this.props.router.navigate(
`/ui/${clusterId}/schema/details/${schemaId}/${this.state.selectedTab}`,
`/ui/${clusterId}/schema/details/${encodeURIComponent(schemaId)}/${this.state.selectedTab}`,
{
replace: true
}
Expand Down

0 comments on commit bea777d

Please sign in to comment.