mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
use percentEncoding for url query
This commit is contained in:
parent
691e60d72b
commit
8ed8e57012
@ -244,7 +244,7 @@ void EditWidgetIcons::fetchFaviconFromGoogle(const QString& domain)
|
|||||||
resetFaviconDownload();
|
resetFaviconDownload();
|
||||||
m_fallbackToGoogle = false;
|
m_fallbackToGoogle = false;
|
||||||
QUrl faviconUrl = QUrl("https://www.google.com/s2/favicons");
|
QUrl faviconUrl = QUrl("https://www.google.com/s2/favicons");
|
||||||
faviconUrl.setQuery("domain=" + domain);
|
faviconUrl.setQuery("domain=" + QUrl::toPercentEncoding(domain));
|
||||||
fetchFavicon(faviconUrl);
|
fetchFavicon(faviconUrl);
|
||||||
} else {
|
} else {
|
||||||
resetFaviconDownload();
|
resetFaviconDownload();
|
||||||
|
Loading…
Reference in New Issue
Block a user