From 95b1d30a1c85637668e8956b9b0f21a1bae1c815 Mon Sep 17 00:00:00 2001 From: Maxim Chervonny Date: Wed, 21 Apr 2021 18:29:17 +0300 Subject: [PATCH] allow unicode characters by allowing any character --- catalog/app/constants/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/app/constants/routes.js b/catalog/app/constants/routes.js index 51e2486a7d1..11520c48baa 100644 --- a/catalog/app/constants/routes.js +++ b/catalog/app/constants/routes.js @@ -1,7 +1,7 @@ import { mkSearch } from 'utils/NamedRoutes' import { encode } from 'utils/s3paths' -const PACKAGE_PATTERN = '[a-z0-9-_]+/[a-z0-9-_]+' +const PACKAGE_PATTERN = '[^/]+/[^/]+' export const home = { path: '/',