Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kleopatra
Commits
235335a1
Commit
235335a1
authored
Dec 21, 2021
by
Ingo Klöcker
Browse files
Unescape space characters in the display name
GnuPG-bug-id: 5745
parent
367ca863
Pipeline
#112811
passed with stage
in 2 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/smartcard/card.cpp
View file @
235335a1
...
...
@@ -298,7 +298,7 @@ void Card::parseCardInfo(const std::string &name, const std::string &value)
auto
list
=
QString
::
fromUtf8
(
QByteArray
::
fromStdString
(
value
)).
split
(
QStringLiteral
(
"<<"
),
Qt
::
SkipEmptyParts
);
std
::
reverse
(
list
.
begin
(),
list
.
end
());
mCardHolder
=
list
.
join
(
QLatin1Char
(
' '
));
mCardHolder
=
list
.
join
(
QLatin1Char
(
'
'
)).
replace
(
QLatin1Char
(
'<'
),
QLatin1Char
(
'
'
));
}
else
if
(
name
==
"KEYPAIRINFO"
)
{
const
KeyPairInfo
info
=
KeyPairInfo
::
fromStatusLine
(
value
);
if
(
info
.
grip
.
empty
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment