Skip to content

Commit 9467511

Browse files
authored
Adding encoding to column lineage link. (#2862)
1 parent 3bedbd1 commit 9467511

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/src/components/datasets/DatasetInfo.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ const DatasetInfo: FunctionComponent<DatasetInfoProps> = (props) => {
140140
disabled={!hasColumnLineage}
141141
size={'small'}
142142
component={Link}
143-
to={`/datasets/column-level/${dataset.namespace}/${
144-
dataset.name
143+
to={`/datasets/column-level/${encodeURIComponent(dataset.namespace)}/${
144+
encodeURIComponent(dataset.name)
145145
}?column=${encodeURIComponent(
146146
encodeQueryString(dataset.namespace, dataset.name, field.name)
147-
)}&columnName=${field.name}`}
147+
)}&columnName=${encodeURIComponent(field.name)}`}
148148
>
149149
<SplitscreenIcon />
150150
</IconButton>

0 commit comments

Comments
 (0)