Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/Blockchain/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function Blockchain({ base, member, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Learn baseUrl={base} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/CS/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function CS({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={FAQ}
Expand Down
4 changes: 2 additions & 2 deletions src/shared/routes/Communities/Cognitive/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ export default function Cognitive({ base, member, meta }) {
<Route
render={props => <Profile {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})`}
path={`${base}/members/:handle([^/]{2,})`}
/>
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Settings base={`${base}/settings`} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/Community2/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function Community2({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Leaderboard meta={meta} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/DemoExpert/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function DemoExpert({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Leaderboard meta={meta} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/Mobile/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function Mobile({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/QA/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function QA({ base, member, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Leaderboard meta={meta} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/SRMx/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function SRMx({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Leaderboard meta={meta} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO01/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO01({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO02/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO02({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO03/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO03({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO04/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO04({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO05/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO05({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO06/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO06({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO07/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO07({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO08/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO08({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO09/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO09({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO10/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO10({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO11/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO11({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO12/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO12({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO13/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO13({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO14/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO14({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO15/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO15({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO16/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO16({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO17/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO17({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO18/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function TCO18({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO19/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function TCO19({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
path={`${base}/blog/:page?`}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO20/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function TCO20({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO21/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function TCO21({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO22/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function TCO22({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TCO23/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function TCO23({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<ContentfulRoute
baseUrl={base}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TaskForce/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function TaskForce({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Leaderboard meta={meta} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/TcProdDev/Routes/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function TcProdDev({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Leaderboard meta={meta} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/Veterans/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function Veterans({ base, member, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Leaderboard meta={meta} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/Wipro/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function Wipro({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={TermsDetail}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Communities/iot/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function IoT({ base, meta }) {
<Route
render={props => <ProfileStats {...props} meta={meta} />}
exact
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
path={`${base}/members/:handle([^/]{2,})/details`}
/>
<Route
component={() => <Home baseUrl={base} />}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes/Topcoder/Routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function Topcoder() {
<Route
component={ProfileBadges}
exact
path="/members/:handle([\w\-\[\].{} ]{2,15})/badges"
path="/members/:handle([^/]{2,})/badges"
/>
)
}
Expand Down
4 changes: 2 additions & 2 deletions src/shared/routes/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function Routes({ communityId }) {
<Route
component={ProfileRedirect}
exact
path="/members/:handle([\w\-\[\].{} ]{2,15})"
path="/members/:handle([^/]{2,})"
/>
<div>
{metaTags}
Expand Down Expand Up @@ -185,7 +185,7 @@ function Routes({ communityId }) {
<Route
component={ProfileRedirect}
exact
path="/members/:handle([\w\-\[\].{} ]{2,15})"
path="/members/:handle([^/]{2,})"
/>
<Route
component={RedirectMemberSearch}
Expand Down
Loading