Bug 410717

Summary: Unpacking archives from a remote location (FTP, SMB, ...) ends up with 'Malformed URL /tmp/krusader-xxxx' message
Product: [Applications] krusader Reporter: Mariusz Madej <mariuszmadej84>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: alex.bikadorov, krusader-bugs-null, mariuszmadej84, rafael.linux.user
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Mariusz Madej 2019-08-08 08:51:03 UTC
SUMMARY

Unpacking tar.gz archives directly from ftp server ends up with 'malformed ulr /tmp/krusader-xxxx' message

STEPS TO REPRODUCE
1. Place .tar.gz file on ftp server
2. Prepare first panel with ftp server open
3. Prepare second panel with local directory open when unpacked content should go
4. Select .tar.gz archive and press alt+shift+U

OBSERVED RESULT

Message box with 'malformed ulr' message appears

EXPECTED RESULT

Unpacked content should go to local directory

SOFTWARE/OS VERSIONS
Linux/Gnome: 3.30.2
Comment 1 Rafael Linux User 2019-10-02 07:45:07 UTC
I can confirm the issue. I tried with tar.xz archive and happens the same. In fact this bug happens in both ways when decompressing remote to local and local to remote. I opened a bug with the remote to local compressing, failing the same way https://bugs.kde.org/show_bug.cgi?id=412371
Comment 2 Alex Bikadorov 2019-10-20 15:27:28 UTC
I can confirm and reproduce it with a zip from a smb location.
-> Changed the title to be more general
Comment 3 Alex Bikadorov 2019-10-20 16:56:15 UTC
Proposed patch: https://phabricator.kde.org/D24809
Comment 4 Alex Bikadorov 2020-01-27 14:05:05 UTC
Git commit 3195a0d829919f9ec8be0f3a80837b30de38e89f by Alexander Bikadorov.
Committed on 27/01/2020 at 14:04.
Pushed by abikadorov into branch 'master'.

Archive: Fix invalid destination URL when packing/unpacking from remote location

FIXED: [412371] Error while creating archives from remote folders
Related: bug 412371
FIXED: [410717] Unpacking archives from a remote location (FTP, SMB, ...) ends up with 'Malformed URL /tmp/krusader-xxxx' message

Differential Revision: https://phabricator.kde.org/D24809

M  +1    -1    krusader/Archive/abstractthreadedjob.cpp

https://commits.kde.org/krusader/3195a0d829919f9ec8be0f3a80837b30de38e89f