From 40dfac176fcbdf74979270ad305328b933ee93c0 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Thu, 4 Jun 2020 17:32:34 +0530 Subject: [PATCH] FIX: client side /my/ redirects were appending extra slash --- app/assets/javascripts/discourse/app/lib/url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/lib/url.js b/app/assets/javascripts/discourse/app/lib/url.js index f357e4978ae..499b5d745ca 100644 --- a/app/assets/javascripts/discourse/app/lib/url.js +++ b/app/assets/javascripts/discourse/app/lib/url.js @@ -247,7 +247,7 @@ const DiscourseURL = EmberObject.extend({ if (currentUser) { path = path.replace( myPath, - userPath(currentUser.get("username_lower") + "/") + userPath(currentUser.get("username_lower")) ); } else { return redirectTo("/login-preferences");