-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create new UrlTools class #9935
Create new UrlTools class #9935
Conversation
Definition of some methods is
|
@molgen-edv |
[ Answering with my personal account, used @molgen-edv by accident ] Thanks. Note: Our current deployment script uses |
The error is in UrlTools.cpp, we should include this code if browser OR networking is enabled. Browser does not require networking. We have a test when all features are disabled, but not a test for the combo of network disabled and browser enabled, which is why this was missed. |
Fixed in #10094. |
Great, thanks! 👍 |
Creates a new UrlTools class.
Every URL related check function from BrowserService and IconDownloader classes are moved to the new class. Some of the functions are only used if
WITH_XC_NETWORKING
is enabled.Also solves the problem with deprecated
QUrl::topLevelDomain()
and replaces it with a proper TLD check using Qt's Public Suffix List from QNetworkCookie and QNetworkCookieJar classes.Related to #7783.
Testing strategy
Automatic tests added.
Type of change