From 799e34acd4a73b31a6b2f5fa8f4de3c3557763a8 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Tue, 3 Jul 2012 21:58:08 +0000 Subject: [PATCH] Add slash to app url if not set fix oc-1169 --- core/js/js.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/js/js.js b/core/js/js.js index 7a53bb75ef..d6483b2c22 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -67,6 +67,8 @@ OC={ if(type){ link+= '/'+type+'/'; } + if(link.substring(link.length-1) != '/') + link+='/'; link+=file; }else{ link+='/';