Commit 235335a1 authored by Ingo Klöcker's avatar 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
......@@ -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()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment