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:
parent
9ed63f6323
commit
a588d209a0
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user