Fix double url decoding in fileDownloadPath function
This commit is contained in:
parent
424062f4af
commit
a33dda3c65
|
@ -37,7 +37,7 @@ t.cache={};
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function fileDownloadPath(dir, file) {
|
function fileDownloadPath(dir, file) {
|
||||||
return OC.filePath('files', 'ajax', 'download.php')+encodeURIComponent('?files='+encodeURIComponent(file)+'&dir='+encodeURIComponent(dir));
|
return OC.filePath('files', 'ajax', 'download.php')+'&files='+encodeURIComponent(file)+'&dir='+encodeURIComponent(dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
var OC={
|
var OC={
|
||||||
|
|
Loading…
Reference in New Issue