Bugfix for issue with language redirects in PublicPersonalProfiles
git-svn-id: https://svn.libreccm.org/ccm/trunk@5079 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
ac05306908
commit
75080d890f
|
|
@ -162,7 +162,11 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
||||||
redirectTo
|
redirectTo
|
||||||
.append("/ccm")
|
.append("/ccm")
|
||||||
.append(app.getPath())
|
.append(app.getPath())
|
||||||
.append(pathInfo)
|
.append(pathInfo);
|
||||||
|
if (!pathInfo.endsWith("/")) {
|
||||||
|
redirectTo.append('/');
|
||||||
|
}
|
||||||
|
redirectTo
|
||||||
.append("index")
|
.append("index")
|
||||||
.append(".")
|
.append(".")
|
||||||
.append(lang);
|
.append(lang);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue