summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-07-03 21:58:08 +0000
committerBrice Maron <brice@bmaron.net>2012-07-03 21:58:36 +0000
commit799e34acd4a73b31a6b2f5fa8f4de3c3557763a8 (patch)
tree3953c8f6f8f33cf357c1c46190691db00761dfe8 /core
parent393eefa5d2f9725acefc29c3bb9b4eaa2a4a25ad (diff)
downloadnextcloud-server-799e34acd4a73b31a6b2f5fa8f4de3c3557763a8.tar.gz
nextcloud-server-799e34acd4a73b31a6b2f5fa8f4de3c3557763a8.zip
Add slash to app url if not set fix oc-1169
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 7a53bb75ef5..d6483b2c225 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+='/';