| Summary: | Extraction fails when the filename has a % in it | ||
|---|---|---|---|
| Product: | [Applications] ark | Reporter: | didi.debian |
| Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | rakuco, rthomsen6 |
| Priority: | NOR | ||
| Version First Reported In: | 16.04.2 | ||
| Target Milestone: | --- | ||
| Platform: | Debian unstable | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/ark/c98d64bfb5176d03f37ae5bed9b1fe8d9d5bbbc2 | Version Fixed/Implemented In: | 16.08.0 |
| Sentry Crash Report: | |||
|
Description
didi.debian
2016-07-18 03:03:17 UTC
I can reproduce the issue, thanks for reporting! Git commit c98d64bfb5176d03f37ae5bed9b1fe8d9d5bbbc2 by Elvis Angelaccio. Committed on 21/07/2016 at 10:11. Pushed by elvisangelaccio into branch 'Applications/16.08'. Fix extraction when an archive has a percentage in the name QUrl::toDisplayString() results in a QString containing %25 instead of %. This affects both batch extractions and normal extractions from the Ark Part. Porting to QUrl::toLocalFile() fixes this issue. FIXED-IN: 16.08.0 Differential Revision: D2229 M +3 -3 app/batchextract.cpp M +1 -0 autotests/CMakeLists.txt A +9 -0 autotests/app/CMakeLists.txt A +94 -0 autotests/app/batchextracttest.cpp [License: BSD] A +- -- autotests/app/data/simple%archive.tar.gz M +1 -1 part/part.cpp http://commits.kde.org/ark/c98d64bfb5176d03f37ae5bed9b1fe8d9d5bbbc2 Git commit 14c75187ca6ed11544ff005267770f4fcd88e27f by Elvis Angelaccio. Committed on 21/07/2016 at 10:18. Pushed by elvisangelaccio into branch 'Applications/16.08'. Fix AddToArchive jobs when filenames have a percentage character Differential Revision: D2230 M +7 -0 autotests/kerfuffle/addtoarchivetest.cpp A +1 -0 autotests/kerfuffle/data/test%dir/testfile1.txt A +1 -0 autotests/kerfuffle/data/test%dir/testfile2.txt M +3 -3 kerfuffle/addtoarchive.cpp http://commits.kde.org/ark/14c75187ca6ed11544ff005267770f4fcd88e27f |