From 23f4b352657f3d3b3514514eb4017eed70830917 Mon Sep 17 00:00:00 2001 From: seaerchin <44049504+seaerchin@users.noreply.github.com> Date: Thu, 14 Mar 2024 10:45:50 +0800 Subject: [PATCH] fix(path-traversal): add regex to prevent path traversal attack (#1828) --- src/routing/RouteSelector.jsx | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/routing/RouteSelector.jsx b/src/routing/RouteSelector.jsx index 6f00f9ae7..e24d8658d 100644 --- a/src/routing/RouteSelector.jsx +++ b/src/routing/RouteSelector.jsx @@ -66,18 +66,18 @@ export const RouteSelector = () => { @@ -87,13 +87,13 @@ export const RouteSelector = () => { @@ -101,47 +101,47 @@ export const RouteSelector = () => { - + - + - + - + - + - + @@ -149,8 +149,8 @@ export const RouteSelector = () => { @@ -158,7 +158,7 @@ export const RouteSelector = () => { - +