Standard URI encode names, fixes #761
This commit is contained in:
@ -110,7 +110,7 @@ const GridItem = ({
|
||||
to = item.link;
|
||||
} else {
|
||||
to = `/${item.type}/${encodeUri(item.uri)}`;
|
||||
if (item.name && item.type !== 'artist') to += `/${item.name}`;
|
||||
if (item.name && item.type !== 'artist') to += `/${encodeURIComponent(item.name)}`;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user