mirror of
https://github.com/rejetto/hfs2.git
synced 2025-12-19 18:13:46 +01:00
fix: upload not working on a folder linked 'with password'
This commit is contained in:
parent
e35221c3f7
commit
cc8ed99392
2
main.pas
2
main.pas
@ -5854,7 +5854,7 @@ case event of
|
||||
data.downloadingWhat:=DW_UNK;
|
||||
data.agent:=getAgentID(conn);
|
||||
data.fileXferStart:=now();
|
||||
f:=findFileByURL(decodeURL(conn.request.url));
|
||||
f:=findFileByURL(decodeURL(getTill('?',conn.request.url)));
|
||||
data.lastFile:=f; // auto-freeing
|
||||
data.uploadSrc:=conn.post.filename;
|
||||
data.uploadFailed:='';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user