1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

[PasswordManager] Save host also with port

Makes it possible to save different passwords for page.com and page.com:23

Closes #1416
This commit is contained in:
David Rosca 2014-07-08 19:28:20 +02:00
parent 9ed63f6323
commit a588d209a0

View File

@ -182,6 +182,11 @@ QString PasswordManager::createHost(const QUrl &url)
host = url.toString(); host = url.toString();
} }
if (url.port() != -1) {
host.append(QLatin1Char(':'));
host.append(QString::number(url.port()));
}
return host; return host;
} }