[KUrlNavigator] Add MIME types supported by krarc to isCompressedPath
Summary:
With D23476 applied, this patch should let users who have Krusader installed to view files inside a 7z or RAR archive in KDE applications (such as Gwenview) without decompressing the whole archive to another location. They will also be able to navigate the archive using Dolphin.
BUG: 386448
FIXED-IN: 5.62
Test Plan:
Test using Dolphin:
Enable "Open archives as folder" in Dolphin, then open a 7z/RAR archive. It should be using the krarc protocol. Then browse the archive. Click on the breadcrumb in the location area for a parent folder which is outside the archive to make sure Bug 386448 does not occur.
Test using Gwenview:
View a 7z/RAR archive containing photos. Browse and view images inside the archive.
Reviewers: Frameworks, cfeck, pino, dfaure
Reviewed By: dfaure
Subscribers: kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D23490