Skip to content
Snippets Groups Projects
Commit 218d51ec authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

user.downloaded_file() expects *just* the filename, not a full path

This is why files downloaded via ecWebv4 haven't been properly accounted.
parent 03b84df8
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ if ((http_request.method === 'GET' || http_request.method === 'POST') && request ...@@ -65,7 +65,7 @@ if ((http_request.method === 'GET' || http_request.method === 'POST') && request
f.close(); f.close();
f = undefined; f = undefined;
reply = false; reply = false;
user.downloaded_file(dircode, file.path); user.downloaded_file(dircode, file_getname(file.path));
} }
break; break;
default: default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment