Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 037cdafe authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Don't discard duplicate query items

Allows multiple occurences of e.g. attachment query item.
parent 57761e31
......@@ -180,7 +180,7 @@ QMap<QString, QString> parseMailtoUrl(const QUrl &url)
}
QUrlQuery query(url);
Q_FOREACH (const auto &queryItem, query.queryItems(QUrl::FullyDecoded)) {
values.insert(queryItem.first, queryItem.second);
values.insertMulti(queryItem.first, queryItem.second);
}
QStringList to;
......
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