Skip to content

Commit 8ce1152

Browse files
Fix route to profile with space in handle name
1 parent ce63e59 commit 8ce1152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/routes/Topcoder/Routes.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default function Topcoder() {
8383
<Route
8484
component={Profile}
8585
exact
86-
path="/members/:handle([\w\-\[\].{}]{2,15})"
86+
path="/members/:handle([\w\-\[\].{} ]{2,15})"
8787
/>
8888
<Route
8989
component={() => <Settings base="/settings" />}
@@ -92,7 +92,7 @@ export default function Topcoder() {
9292
<Route
9393
component={ProfileStats}
9494
exact
95-
path="/members/:handle([\w\-\[\].{}]{2,15})/details"
95+
path="/members/:handle([\w\-\[\].{} ]{2,15})/details"
9696
/>
9797
{/* EDU Portal */}
9898
<Route

0 commit comments

Comments
 (0)