Bugfix for issue with language redirects in PublicPersonalProfiles

git-svn-id: https://svn.libreccm.org/ccm/trunk@5079 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2017-10-25 14:11:56 +00:00
parent ac05306908
commit 75080d890f
1 changed files with 5 additions and 1 deletions

View File

@ -162,7 +162,11 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
redirectTo
.append("/ccm")
.append(app.getPath())
.append(pathInfo)
.append(pathInfo);
if (!pathInfo.endsWith("/")) {
redirectTo.append('/');
}
redirectTo
.append("index")
.append(".")
.append(lang);