Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
ark.4473
Fix-ark-cannout-open-rar-file-with-space-in-arc...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-ark-cannout-open-rar-file-with-space-in-archive-file-path.patch of Package ark.4473
From: Weng Xuetian <wengxt@gmail.com> Date: Thu, 17 Dec 2015 06:20:36 +0000 Subject: Fix ark cannout open rar file with space in archive file path X-Git-Url: http://quickgit.kde.org/?p=ark.git&a=commitdiff&h=24b0afbec552f56b30d91fc041fc727add5b6e58 --- Fix ark cannout open rar file with space in archive file path REVIEW: 126360 --- --- a/plugins/clirarplugin/cliplugin.cpp +++ b/plugins/clirarplugin/cliplugin.cpp @@ -172,7 +172,8 @@ if (m_parseState == ParseStateComment) { // RegExp matching end of comment field. - QRegularExpression rxCommentEnd(QStringLiteral("^Archive: \\S+$")); + // FIXME: Comment itself could also contain the Archive path string here. + QRegularExpression rxCommentEnd(QStringLiteral("^Archive: .+$")); if (rxCommentEnd.match(line).hasMatch()) { m_parseState = ParseStateHeader; @@ -293,7 +294,8 @@ if (m_parseState == ParseStateComment) { // RegExp matching end of comment field. - QRegularExpression rxCommentEnd(QStringLiteral("^(Solid archive|Archive|Volume) \\S+$")); + // FIXME: Comment itself could also contain the Archive path string here. + QRegularExpression rxCommentEnd(QStringLiteral("^(Solid archive|Archive|Volume) .+$")); if (rxCommentEnd.match(line).hasMatch()) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor