diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-23 17:09:28 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-23 17:09:28 +0200 |
commit | 6d92ebca454ab2e6533d0b7a08bfe30d20005820 (patch) | |
tree | 4cfcb797863dcf63d1f06cdcbfe48e0d712201e8 /core | |
parent | 9226cb7a6a029ef1257eee46cd22044a294b0d5f (diff) | |
download | nextcloud-server-6d92ebca454ab2e6533d0b7a08bfe30d20005820.tar.gz nextcloud-server-6d92ebca454ab2e6533d0b7a08bfe30d20005820.zip |
use native functions of php to parse the string into the Var
Diffstat (limited to 'core')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index 4abaced1ae0..b4482185509 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -53,7 +53,7 @@ OC={ var isCore=OC.coreApps.indexOf(app)!=-1; var link=OC.webroot; if(file.substring(file.length-3) == 'php' && !isCore){ - link+='/?app=' + app + '&getfile=' + type + '/' + file; + link+='/?app=' + app + '&getfile=' + encodeURI(type + '/' + file); }else{ link+='/'; app+='/'; |