diff --git a/src/inc/routes/index.mjs b/src/inc/routes/index.mjs index 8f64478..493b7b7 100644 --- a/src/inc/routes/index.mjs +++ b/src/inc/routes/index.mjs @@ -519,7 +519,7 @@ export default (router, tpl) => { // Specific route for direct item links: /user/:user/:itemid // This avoids ambiguity with the profile route - router.get(/^\/user\/(?[^/]+)\/(?[a-zA-Z0-9_-]+)$/, handleGenericRoute); + router.get(/^\/user\/(?[^/]+)\/(?(?!f0cks$|uploads$|favs$)[a-zA-Z0-9_-]+)$/, handleGenericRoute); // Generic router for everything else (Index, Tags, standard User Grids) // We exclude static paths (/s/, /b/, /t/, /ca/, /a/, system routes) to prevent the greedy regex from intercepting them.