Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix url escaping

dominik-zeglen5198eb2b8e91
diff --git a/saleor/static/dashboard-next/categories/views/CategoryDetails/index.tsx b/saleor/static/dashboard-next/categories/views/CategoryDetails/index.tsx
index 0f7bc9bf07..420a0dbb2e 100644
--- a/saleor/static/dashboard-next/categories/views/CategoryDetails/index.tsx
+++ b/saleor/static/dashboard-next/categories/views/CategoryDetails/index.tsx
@@ -158,7 +158,7 @@ export const CategoryDetails: React.StatelessComponent<
)}
/>
<Route
- path={categoryDeleteUrl(id)}
+ path={categoryDeleteUrl(encodeURIComponent(id))}
render={({ match }) => (
<ActionDialog
onClose={() =>